summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/.env1
-rw-r--r--client/.env.development2
-rw-r--r--client/src/components/RsvpForm.tsx2
-rw-r--r--client/src/components/Schedule.tsx2
-rw-r--r--server/cmd/main.go2
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)