feat: add nekoweb to allowed origins
This commit is contained in:
parent
45816ac7a8
commit
3aecbd274f
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue