enable routes

This commit is contained in:
Fran Jurmanović
2024-07-14 20:09:50 +02:00
parent edd1806de9
commit 6e91c02de7
8 changed files with 78 additions and 14 deletions

View File

@@ -14,7 +14,9 @@ import (
)
func Start(di *dig.Container) *fiber.App {
app := fiber.New()
app := fiber.New(fiber.Config{
EnablePrintRoutes: true,
})
app.Use(cors.New())