idk, kinda websockety, really difficult to test atm

This commit is contained in:
Dane Everitt
2019-04-07 16:58:56 -07:00
parent afe2941983
commit ef918a4ffa
2 changed files with 10 additions and 34 deletions

View File

@@ -266,7 +266,7 @@ func (rt *Router) ConfigureRouter() *httprouter.Router {
router.POST("/api/servers/:server/power", rt.AuthenticateToken("s:power", rt.AuthenticateServer(rt.routeServerPower)))
router.GET("/api/ws/:server", rt.AuthenticateServer(rt.routeWebsocket))
router.Handler("GET", "/socket.io/", rt.Socketio)
return router
}