feat: add nekoweb to allowed origins

This commit is contained in:
trafficlunar 2025-05-03 18:43:28 +01:00
parent 45816ac7a8
commit 3aecbd274f

View file

@ -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")