fix: simplified development server architecture

This commit is contained in:
2023-04-29 15:46:08 +02:00
parent a72f543346
commit 6ff903fb06
6 changed files with 15 additions and 19 deletions
-4
View File
@@ -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()
}