Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Commit

Permalink
Fix router
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed Mar 10, 2018
1 parent 781c036 commit fda612f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routing/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit fda612f

Please sign in to comment.