diff --git a/api/.env.example b/api/.env.example deleted file mode 100644 index e5ad3ab..0000000 --- a/api/.env.example +++ /dev/null @@ -1,22 +0,0 @@ -# Database -DB_URL=jdbc:postgresql://host:5432/postgres?sslmode=require -DB_USERNAME=postgres -DB_PASSWORD= - -# Redis -REDIS_URL=rediss://default:PASSWORD@host:6379 - -# CORS (콤마 구분, 프로덕션: 프론트엔드 Cloud Run URL) -CORS_ALLOWED_ORIGINS=http://localhost:3000 - -# Video -VIDEO_PROCESSOR_ENABLED=true -FFMPEG_PATH=/opt/homebrew/bin/ffmpeg - -# Gemini -GOOGLE_GEMINI_API_KEY= -GEMINI_MODEL=gemini-2.5-flash - -# Session -SESSION_EXPIRES_IN_DAYS=7 -SESSION_CACHE_TTL_SECONDS=300 diff --git a/web/.env.example b/web/.env.example deleted file mode 100644 index 2eb5643..0000000 --- a/web/.env.example +++ /dev/null @@ -1,8 +0,0 @@ -# API -NEXT_PUBLIC_API_URL=http://localhost:8080 -NEXT_PUBLIC_WEB_URL=http://localhost:3000 - -# Better-Auth -BETTER_AUTH_SECRET= -BETTER_AUTH_URL=http://localhost:3000 -DATABASE_URL=postgresql://user:password@host:6543/postgres diff --git a/web/src/constants/api.ts b/web/src/constants/api.ts index 819884d..17e1bae 100644 --- a/web/src/constants/api.ts +++ b/web/src/constants/api.ts @@ -1,8 +1,8 @@ const isProd = process.env.NODE_ENV === "production"; /** Cloud Run 배포 후 실제 서비스 URL로 교체 (GCP Console > Cloud Run > 서비스 URL 확인) */ -const PROD_API_URL = "https://lms-api-xxxxx-xx.a.run.app"; -const PROD_WEB_URL = "https://lms-web-xxxxx-xx.a.run.app"; +const PROD_API_URL = "https://lms-api-342883012014.asia-northeast3.run.app"; +const PROD_WEB_URL = "https://lms-web-342883012014.asia-northeast3.run.app"; export const API_URL = isProd ? PROD_API_URL : "http://localhost:8080"; export const AUTH_CLIENT_BASE_URL = isProd ? PROD_WEB_URL : "http://localhost:3000";