remove backend staging server
This commit is contained in:
parent
3725a22c1c
commit
1c76a38dbc
|
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
- Remove staging backend server
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fixed frontend crash when instance node missing
|
- Fixed frontend crash when instance node missing
|
||||||
|
|
|
@ -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-develop.fediverse.space/api/";
|
API_ROOT = "https://phoenix.api.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