diff --git a/internal/server/router.go b/internal/server/router.go index e6bf3c4..1342aec 100644 --- a/internal/server/router.go +++ b/internal/server/router.go @@ -16,7 +16,7 @@ import ( ) func getAllowedOrigins() []string { - allowedOrigins := []string{"https://trafficlunar.net"} + allowedOrigins := []string{"https://trafficlunar.net", "https://trafficlunar.nekoweb.org/"} if os.Getenv("DEVELOPMENT_MODE") == "true" { allowedOrigins = append(allowedOrigins, "http://localhost:4321")