alexey-petrusevich / alexey-petrusevich/CS_4550_Final_Project

Deployment

未關閉
#12 0 則留言 0 個 reaction 已指派 1 人 已被 @morrisonineu 認領 在 GitHub 檢視
主要語言
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。