chore: add clock middleware

This commit is contained in:
2026-02-28 13:28:46 +01:00
parent f91d4276cc
commit 1f332643a2
5 changed files with 67 additions and 10 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ func main() {
// Configuration CORS
r.Use(cors.New(cors.Config{
AllowOrigins: []string{"https://uber-stup.club"},
AllowOrigins: []string{"https://uber-stup.club", "http://localhost:5173"},
AllowMethods: []string{"GET", "POST", "PUT", "DELETE", "OPTIONS"},
AllowHeaders: []string{"Origin", "Content-Type", "Accept", "Authorization"},
ExposeHeaders: []string{"Content-Length"},