Skip to content

Commit

Permalink
[add] : publicPath
Browse files Browse the repository at this point in the history
  • Loading branch information
mirumirumi committed Nov 21, 2021
1 parent 798af58 commit 9602b60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.dev
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
NODE_ENV="dev"
VUE_APP_API_ENDPOINT="https://kkqe8obe2i.execute-api.ap-northeast-1.amazonaws.com/yourcat-dev-apis/"
VUE_APP_API_KEY="Ba2Qog5qH79IdNDxt0JvuaX1hs3YYYRy9LVN5xpP"
VUE_APP_S3_BUCKET_URL="https://yourcat-dev-image.s3.ap-northeast-1.amazonaws.com/"
1 change: 1 addition & 0 deletions .env.prd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
NODE_ENV="prd"
VUE_APP_API_ENDPOINT="https://9cvctuwqz4.execute-api.ap-northeast-1.amazonaws.com/yourcat-prd-apis/"
VUE_APP_API_KEY="Q9x9rfL3S55dapODerias4vMwNofrSkDfWW1Vgxg"
VUE_APP_S3_BUCKET_URL="https://yourcat-prd-image.s3.ap-northeast-1.amazonaws.com/"
3 changes: 3 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ module.exports = {
},
},
},
publicPath: process.env.NODE_ENV === "prd"
? "/apps/"
: "/",
};

0 comments on commit 9602b60

Please sign in to comment.