Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions api/.env.example

This file was deleted.

8 changes: 0 additions & 8 deletions web/.env.example

This file was deleted.

4 changes: 2 additions & 2 deletions web/src/constants/api.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down