first commit

This commit is contained in:
SowinskiBraeden committed 2022-03-21 22:15:09 -07:00
commit ca8c886763
11 files changed
+974

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
package routes
import (
"github.com/SowinskiBraeden/BugBeGone/controllers"
"github.com/gofiber/fiber/v2"
)
func Setup(app *fiber.App) {
app.Get("/", controllers.MainPage)
// 404 Handler
app.Use(func(c *fiber.Ctx) error {
return c.SendStatus(404) // => 404 "Not Found"
})
}