Sources/App/configure.swift−6
@@ -54,12 +54,6 @@ public func configure(_ config: inout Config, _ env: inout Environment, _ servic
5454 }
5555 }
5656
57− ws.get("test") { (ws, req) in
58− ws.onText({ (ws, text) in
59− ws.send("pong")
60− })
61− }
62−
6357 services.register(ws, as: WebSocketServer.self)
6458
6559}