feat: implement slug edition

This commit is contained in:
2026-01-02 18:30:45 +07:00
parent 02780c66b5
commit f7a1044343
2 changed files with 198 additions and 88 deletions

View File

@@ -33,7 +33,10 @@ func main() {
}(connect, ctx)
repo := repository.New(connect)
s := server.New(repo)
s := server.New(repo, "test_auth_key")
log.SetOutput(os.Stdout)
log.SetFlags(log.LstdFlags | log.Lshortfile)
log.Printf("Listening on :8080\n")
err = s.ListenAndServe(":8080")