This commit is contained in:
Tijl 2025-08-06 17:41:42 +02:00
parent 3892d966f3
commit a82654c40d
Signed by: tijl
GPG Key ID: DAE24BFCD722F053
4 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import (
func main() {
s, err := shortify.New(shortify.Config{
DataFolder: "./shoritfy",
DataFolder: "./shortify",
})
if err != nil {
panic(err)
@ -23,7 +23,7 @@ func main() {
a := fiber.New()
a.Get("/shorten", s.HandlePostURL())
a.Post("/shorten", s.HandlePostURL())
a.Get("/s/:id", s.HandleGetURL())
a.Listen(":3001")

BIN
shortify/analytics.db Normal file

Binary file not shown.

BIN
shortify/analytics.db.wal Normal file

Binary file not shown.

BIN
shortify/database.db Normal file

Binary file not shown.