From bb5f79ce647176212494850f5902c6d4712fbb5c Mon Sep 17 00:00:00 2001 From: Paul Bailey Date: Tue, 18 Nov 2025 00:53:06 +0000 Subject: [PATCH] chore: Update domain from litter.psbailey.uk to litterscouts.psbailey.uk - Update CORS origins in backend - Update allowed hosts in Vite config --- server/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/index.ts b/server/src/index.ts index e9caad9..76684f7 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -26,8 +26,8 @@ app.use(cors({ origin: [ 'http://localhost:5173', 'http://localhost:5174', - 'https://litter.psbailey.uk', - 'http://litter.psbailey.uk', + 'https://litterscouts.psbailey.uk', + 'http://litterscouts.psbailey.uk', process.env.CORS_ORIGIN || '' ].filter(Boolean), credentials: true,