Merge pull request #996 from atmire/update-rest-hostname

Update the rest hostname to api7.dspace.org
This commit is contained in:
Tim Donohue
2021-01-25 09:08:19 -06:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -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`**

View File

@@ -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
```

View File

@@ -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',