Skip to content

Commit ea2b14e

Browse files
committed
feat: add route
1 parent 913ff40 commit ea2b14e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

api/main.go

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ import (
1212
)
1313

1414
func setupRoutes(app *fiber.App) {
15+
app.Get("/", func(c *fiber.Ctx) error {
16+
return c.JSON(fiber.Map{
17+
"message": "Snip up and running!",
18+
})
19+
})
20+
1521
app.Get("/health", routes.HealthCheck)
1622

1723
app.Get("/:url", routes.ResolveURL)

data/dump.rdb

-23 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)