diff --git a/README.md b/README.md index 4b4c7dc6cf..9a7bdbbbdb 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ DSPACE_REST_SSL # Whether the angular REST uses SSL [true/false] The same settings can also be overwritten by setting system environment variables instead, E.g.: ```bash -export DSPACE_HOST=dspace7.4science.cloud +export DSPACE_HOST=api7.dspace.org ``` The priority works as follows: **environment variable** overrides **variable in `.env` file** overrides **`environment.(prod, dev or test).ts`** overrides **`environment.common.ts`** diff --git a/docs/Configuration.md b/docs/Configuration.md index ac5ca3ef72..f918622568 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -39,7 +39,7 @@ export const environment = { // The REST API server settings. rest: { ssl: true, - host: 'dspace7.4science.cloud', + host: 'api7.dspace.org', port: 443, // NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript nameSpace: '/server' @@ -50,7 +50,7 @@ export const environment = { Alternately you can set the following environment variables. If any of these are set, it will override all configuration files: ``` DSPACE_REST_SSL=true - DSPACE_REST_HOST=dspace7.4science.cloud + DSPACE_REST_HOST=api7.dspace.org DSPACE_REST_PORT=443 DSPACE_REST_NAMESPACE=/server ``` diff --git a/src/environments/environment.common.ts b/src/environments/environment.common.ts index 65aa95c7f6..d47c3cfcef 100644 --- a/src/environments/environment.common.ts +++ b/src/environments/environment.common.ts @@ -23,7 +23,7 @@ export const environment: GlobalConfig = { // NOTE: these must be "synced" with the 'dspace.server.url' setting in your backend's local.cfg. rest: { ssl: true, - host: 'dspace7.4science.cloud', + host: 'api7.dspace.org', port: 443, // NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript nameSpace: '/server',