This commit is contained in:
dahyeon committed 2026-04-25 12:54:57 -07:00
1 parent b7127b59af
commit d0ae8ffb0e
3 files changed
+8 -4

No files matched your search

+6 -2
View File
@@ -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();
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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