diff --git a/frontend/.env.development b/frontend/.env.development index 0f882ca0..be08dbc1 100644 --- a/frontend/.env.development +++ b/frontend/.env.development @@ -1,5 +1,3 @@ -VITE_API_ADDR="https://codepair-api.yorkie.dev" +VITE_API_ADDR="http://localhost:3000" VITE_YORKIE_API_ADDR="https://api.yorkie.dev" -VITE_YORKIE_API_KEY="cmggkp8ksk14av0keupg" - - +VITE_YORKIE_API_KEY="cmftp10ksk14av0kc7gg" diff --git a/frontend/.env.production b/frontend/.env.production index 0f882ca0..c7359d7c 100644 --- a/frontend/.env.production +++ b/frontend/.env.production @@ -1,3 +1,4 @@ +NODE_ENV=development VITE_API_ADDR="https://codepair-api.yorkie.dev" VITE_YORKIE_API_ADDR="https://api.yorkie.dev" VITE_YORKIE_API_KEY="cmggkp8ksk14av0keupg" diff --git a/frontend/package.json b/frontend/package.json index 70df3a0d..c7a9668b 100755 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "vite", - "build": "tsc && vite build --mode development", + "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview", "format": "prettier . --write",