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 | |
parent | 4fd6cbf1ce8457932b8e2c73e83e1d729a485ca5 (diff) |
Update ceremony time
-rw-r--r-- | client/.env | 1 | ||||
-rw-r--r-- | client/.env.development | 2 | ||||
-rw-r--r-- | client/src/components/RsvpForm.tsx | 2 | ||||
-rw-r--r-- | client/src/components/Schedule.tsx | 2 | ||||
-rw-r--r-- | server/cmd/main.go | 2 |
5 files changed, 5 insertions, 4 deletions
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() { <p> 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. </p> </Grid> <Grid item xs={12}> 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() { <hr style={{ width: '100%' }} /> <div style={{ display: 'flex', alignItems: 'center' }}> <div style={{ width: '35%' }}> - <p>6:00 pm</p> + <p>5:30 pm</p> </div> <div style={{ width: '65%' }}> <Typography variant="h6">Reception</Typography> 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) |