⏪ Pick up the single-page application as frontend
This commit is contained in:
@ -85,5 +85,9 @@ func MapAPIs(app *fiber.App) {
|
||||
}
|
||||
return c.Next()
|
||||
}).Get("/ws", websocket.New(listenWebsocket))
|
||||
|
||||
api.All("/*", func(c *fiber.Ctx) error {
|
||||
return fiber.ErrNotFound
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user