remove backend staging server

This commit is contained in:
Tao Bror Bojlén 2019-11-21 19:47:52 +00:00
parent 3725a22c1c
commit 1c76a38dbc
No known key found for this signature in database
GPG key ID: C6EC7AAB905F9E6F
2 changed files with 2 additions and 1 deletions

View file

@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Deprecated
### Removed
- Remove staging backend server
### Fixed
- Fixed frontend crash when instance node missing

View file

@ -6,7 +6,7 @@ import { IAppState } from "./redux/types";
let API_ROOT = "http://localhost:4000/api/";
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") {
API_ROOT = "https://phoenix.api.fediverse.space/api/";
}