From fda612fa5ed6af2d1b7904199a88d7568c018461 Mon Sep 17 00:00:00 2001 From: Lord_Ralex Date: Sat, 10 Mar 2018 09:49:37 -0600 Subject: [PATCH] Fix router --- routing/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing/server/server.go b/routing/server/server.go index e3dafd2..af95ab5 100644 --- a/routing/server/server.go +++ b/routing/server/server.go @@ -88,7 +88,7 @@ func RegisterRoutes(e *gin.Engine) { l.GET("/:id/stats", httphandlers.OAuth2Handler("server.stats", true), GetStats) l.GET("/:id/status", httphandlers.OAuth2Handler("server.stats", true), GetStatus) } - l.POST("/server", httphandlers.OAuth2Handler("server.create", false), CreateServer) + l.POST("", httphandlers.OAuth2Handler("server.create", false), CreateServer) e.GET("/network", httphandlers.OAuth2Handler("server.network", false), NetworkServer) }