chore: update URLs
This commit is contained in:
parent
9a3b3dd13b
commit
c6367ae505
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue