From c6367ae5051b73a4b33effaf3479c4e1502ca4df Mon Sep 17 00:00:00 2001 From: trafficlunar Date: Thu, 16 Jan 2025 21:58:23 +0000 Subject: [PATCH] chore: update URLs --- internal/server/router.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/server/router.go b/internal/server/router.go index 3255405..16b2a9f 100644 --- a/internal/server/router.go +++ b/internal/server/router.go @@ -15,7 +15,7 @@ import ( ) func getAllowedOrigins() []string { - allowedOrigins := []string{"https://axolotlmaid.com"} + allowedOrigins := []string{"https://trafficlunar.net"} if os.Getenv("DEVELOPMENT_MODE") == "true" { allowedOrigins = append(allowedOrigins, "http://localhost:4321") @@ -43,7 +43,7 @@ func NewRouter() { })) r.Get("/", func(w http.ResponseWriter, r *http.Request) { - http.Redirect(w, r, "https://axolotlmaid.com", http.StatusPermanentRedirect) + http.Redirect(w, r, "https://trafficlunar.net", http.StatusPermanentRedirect) }) r.Get("/visit-counter", handler.HandleGetVisitCounter)