From 5a65b3a653eb4a9ca62332fa65c8d352e6dc782f Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Sun, 20 Oct 2024 18:52:16 -0700 Subject: Use UUID --- server/cmd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/cmd') diff --git a/server/cmd/main.go b/server/cmd/main.go index b57ee30..92ca984 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.18:5173"} + allowedOrigins := []string{"http://localhost:5173", "http://192.168.1.11:5173"} origin := request.Header.Get("Origin") if slices.Contains(allowedOrigins, origin) { responseWriter.Header().Add("Access-Control-Allow-Origin", origin) -- cgit v1.2.3