aboutsummaryrefslogtreecommitdiffstats
path: root/backend/src
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-06-29 11:41:51 -0700
committerPinapelz <yukais@pinapelz.com>2025-06-29 11:43:59 -0700
commit864ce67d89c77d8ef9c3361f80d619853abcf91c (patch)
tree58a83c20fab91d9480fda5f8648c257f96352aa4 /backend/src
parentff37cca46430ed714015647469f88ce06781457a (diff)
backend: migrate to postgres
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