From c2a8a9fac1322e9e0a63fe4de21abd7d7c696639 Mon Sep 17 00:00:00 2001 From: Michael Hunteman Date: Mon, 30 Dec 2024 13:49:25 -0800 Subject: Update ceremony time --- client/.env | 1 + client/.env.development | 2 +- client/src/components/RsvpForm.tsx | 2 +- client/src/components/Schedule.tsx | 2 +- server/cmd/main.go | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 client/.env diff --git a/client/.env b/client/.env new file mode 100644 index 0000000..6bb9cb3 --- /dev/null +++ b/client/.env @@ -0,0 +1 @@ +VITE_BASE_URL=https://wedding.huntm.net/ diff --git a/client/.env.development b/client/.env.development index eab1509..71597a0 100644 --- a/client/.env.development +++ b/client/.env.development @@ -1 +1 @@ -VITE_BASE_URL=http://192.168.1.11:8080/api/ +VITE_BASE_URL=http://192.168.1.25:8080/api/ diff --git a/client/src/components/RsvpForm.tsx b/client/src/components/RsvpForm.tsx index 53fefa4..f25dfcd 100644 --- a/client/src/components/RsvpForm.tsx +++ b/client/src/components/RsvpForm.tsx @@ -124,7 +124,7 @@ function RsvpForm() {

Please RSVP for the wedding by March 10, 2025. The ceremony will commence at 4:30 pm on April 26 in Divine Shepherd. The reception - will follow at 6 pm in A Venue on the Ridge. + will follow at 5:30 pm in A Venue on the Ridge.

diff --git a/client/src/components/Schedule.tsx b/client/src/components/Schedule.tsx index 64140e4..348e6b3 100644 --- a/client/src/components/Schedule.tsx +++ b/client/src/components/Schedule.tsx @@ -84,7 +84,7 @@ function Schedule() {
-

6:00 pm

+

5:30 pm

Reception 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) -- cgit v1.2.3