mirror of
https://github.com/aziis98/go-vite-kit.git
synced 2026-10-23 22:01:44 +00:00
fix: simplified development server architecture
This commit is contained in:
@@ -44,10 +44,6 @@ func main() {
|
||||
app.Route("/api", router.Api)
|
||||
|
||||
if strings.HasPrefix(config.Mode, "dev") {
|
||||
app.Get("/dev/routes", func(c *fiber.Ctx) error {
|
||||
return c.JSON(routes.HtmlEntrypoints)
|
||||
})
|
||||
|
||||
setupDevServer()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user