From d0ae8ffb0ebc7c58ae78cdd42df379e3ffbc4ff1 Mon Sep 17 00:00:00 2001 From: dahyeon Date: Sat, 25 Apr 2026 12:54:57 -0700 Subject: [PATCH] . --- apps/api/src/main.ts | 8 ++++++-- apps/web/.env.production | 2 +- apps/web/.env.test | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/apps/api/src/main.ts b/apps/api/src/main.ts index 2d2d4e4f..9efa99fa 100644 --- a/apps/api/src/main.ts +++ b/apps/api/src/main.ts @@ -10,7 +10,11 @@ async function bootstrap() { const isDev = process.env.NODE_ENV === 'dev'; const webOrigins = process.env.WEB_ORIGIN?.split(',').map((origin) => origin.trim(), - ) ?? ['http://localhost:5173', 'http://126.dahyeon.us:5173']; + ) ?? [ + 'http://localhost:5173', + 'http://126.dahyeon.us:5173', + 'https://lolympus.dahyeon.us', + ]; app.enableCors({ origin: isDev ? true : webOrigins, @@ -25,6 +29,6 @@ async function bootstrap() { transformOptions: { enableImplicitConversion: false }, }), ); - await app.listen(process.env.PORT ?? 3000); + await app.listen(isDev ? 3000 : 10712); } bootstrap(); diff --git a/apps/web/.env.production b/apps/web/.env.production index f6234e49..c35c549b 100644 --- a/apps/web/.env.production +++ b/apps/web/.env.production @@ -1,4 +1,4 @@ -VITE_API_BASE_URL=https://lolympus-test.dahyeon.us +VITE_API_BASE_URL=https://lolympus-api.dahyeon.us VITE_DEFAULT_COMMUNITY_ID=69ebe0adf627c11be2f020a1 VITE_MSAL_CLIENT_ID=15fb5a20-47e0-44fa-9a41-b50ca9d0e7e3 VITE_MSAL_AUTHORITY=https://login.microsoftonline.com/5ef88004-e953-4b04-93db-64bbf49c6863 diff --git a/apps/web/.env.test b/apps/web/.env.test index 1650f24a..be6c0bbe 100644 --- a/apps/web/.env.test +++ b/apps/web/.env.test @@ -1,4 +1,4 @@ -VITE_API_BASE_URL=https://lolympus-test.dahyeon.us +VITE_API_BASE_URL=https://lolympus-test-api.dahyeon.us VITE_DEFAULT_COMMUNITY_ID=69ebe0adf627c11be2f020a1 VITE_MSAL_CLIENT_ID=15fb5a20-47e0-44fa-9a41-b50ca9d0e7e3 VITE_MSAL_AUTHORITY=https://login.microsoftonline.com/5ef88004-e953-4b04-93db-64bbf49c6863