bring back staging backend
This commit is contained in:
parent
99f2b247dc
commit
41ac4ca9a8
|
@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
- Bring back `develop` staging backup (now managed in DNS)
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { IAppState } from "./redux/types";
|
||||||
|
|
||||||
let API_ROOT = "http://localhost:4000/api/";
|
let API_ROOT = "http://localhost:4000/api/";
|
||||||
if (["true", true, 1, "1"].indexOf(process.env.REACT_APP_STAGING || "") > -1) {
|
if (["true", true, 1, "1"].indexOf(process.env.REACT_APP_STAGING || "") > -1) {
|
||||||
API_ROOT = "https://phoenix.api.fediverse.space/api/";
|
API_ROOT = "https://phoenix.api-develop.fediverse.space/api/";
|
||||||
} else if (process.env.NODE_ENV === "production") {
|
} else if (process.env.NODE_ENV === "production") {
|
||||||
API_ROOT = "https://phoenix.api.fediverse.space/api/";
|
API_ROOT = "https://phoenix.api.fediverse.space/api/";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue