diff options
author | Michael Hunteman <michael@huntm.net> | 2024-12-30 13:49:25 -0800 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-12-30 13:49:25 -0800 |
commit | c2a8a9fac1322e9e0a63fe4de21abd7d7c696639 (patch) | |
tree | e095d183a647cafc0a466eaf1a48e3fe5900b4f9 /server/cmd/main.go | |
parent | 4fd6cbf1ce8457932b8e2c73e83e1d729a485ca5 (diff) |
Update ceremony time
Diffstat (limited to 'server/cmd/main.go')
-rw-r--r-- | server/cmd/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/cmd/main.go b/server/cmd/main.go index 92ca984..72d2aad 100644 --- a/server/cmd/main.go +++ b/server/cmd/main.go @@ -60,7 +60,7 @@ func writeMethods(responseWriter http.ResponseWriter, request *http.Request) { } func writeOrigins(responseWriter http.ResponseWriter, request *http.Request) { - allowedOrigins := []string{"http://localhost:5173", "http://192.168.1.11:5173"} + allowedOrigins := []string{"http://localhost:5173", "http://192.168.1.25:5173"} origin := request.Header.Get("Origin") if slices.Contains(allowedOrigins, origin) { responseWriter.Header().Add("Access-Control-Allow-Origin", origin) |