summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/cmd/main.go2
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)