alexey-petrusevich / alexey-petrusevich/CS_4550_Final_Project
Deployment
未關閉
- 主要語言
- Elixir
- 星號
- 2
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
描述
- Deploying
- Try getting HTTPS working (should be easy from lecture?)?
In JS, you can do something like this at the top of each file that uses some external URL that will change in deployment i.e. localhost
export const URL =
process.env.NODE_ENV === "prod" ?
"https://spotify.[domain.site]/api/v1" :
"http://localhost:4000/api/v1";
Or, just add the proper deploy URL in a commented out line so its easy to switch when we deploy
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。