mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
minor example fixes
Former-commit-id: 163652ddfad00300590fbe6798cf9761a8e4b5e6
This commit is contained in:
@@ -68,7 +68,7 @@ func main() {
|
||||
|
||||
// serves the endpoint of ws://localhost:8080/echo
|
||||
websocketRoute := app.Get("/echo", websocket.Handler(websocketServer))
|
||||
j.Get()
|
||||
|
||||
if enableJWT {
|
||||
// Register the jwt middleware (on handshake):
|
||||
websocketRoute.Use(j.Serve)
|
||||
|
||||
Reference in New Issue
Block a user