alexey-petrusevich / alexey-petrusevich/CS_4550_Final_Project
Deployment
Đang mở
- Ngôn ngữ chính
- Elixir
- Star
- 2
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
- 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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.