fix game
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m3s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m3s
This commit is contained in:
@@ -88,6 +88,9 @@ func SetupGinServer(ec *nats.EncodedConn, port string) *gin.Engine {
|
||||
r.StaticFile("/main.wasm", "./cmd/client/web/main.wasm")
|
||||
r.StaticFile("/background.jpg", "./cmd/client/web/background.jpg")
|
||||
|
||||
// Admin Panel
|
||||
RegisterAdminRoutes(r)
|
||||
|
||||
// 404 Handler
|
||||
r.NoRoute(func(c *gin.Context) {
|
||||
c.JSON(404, gin.H{
|
||||
|
||||
Reference in New Issue
Block a user