From 8cf1a7ccafcb667d12b43fa2f777ba7732e29703 Mon Sep 17 00:00:00 2001 From: Alex Frantz Date: Mon, 7 Sep 2026 15:57:01 -0400 Subject: [PATCH] fix cors --- apps/backend/src/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/backend/src/index.ts b/apps/backend/src/index.ts index 87281c9..ec32823 100644 --- a/apps/backend/src/index.ts +++ b/apps/backend/src/index.ts @@ -87,7 +87,11 @@ app.use(passport.session()); if (env.NODE_ENV === "production") { app.use( cors({ - origin: "blog.alexav.gg", + origin: [ + "https://blog.alexav.gg", + "https://alexav.gg", + "http://localhost:5173", + ], credentials: true, }), );