aboutsummaryrefslogtreecommitdiffstats
path: root/backend/src
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src')
-rw-r--r--backend/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/index.ts b/backend/src/index.ts
index 52a7a33..37b64a8 100644
--- a/backend/src/index.ts
+++ b/backend/src/index.ts
@@ -11,7 +11,7 @@ const port = 5000;
app.use(cors({
origin: [
- 'http://localhost:5173', // Vite dev server default port
+ process.env.FRONTEND_URL || "http://localhost:5173"
],
credentials: true
}));
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage