diff --git a/docker/environment.dev.ts b/docker/environment.dev.ts index 573c8ebb67..0e603ef11d 100644 --- a/docker/environment.dev.ts +++ b/docker/environment.dev.ts @@ -13,6 +13,6 @@ export const environment = { host: 'localhost', port: 8080, // NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript - nameSpace: '/server/api' + nameSpace: '/server' } }; diff --git a/docs/Configuration.md b/docs/Configuration.md index 4be21d046d..60c6352ff3 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -42,7 +42,7 @@ export const environment = { host: 'dspace7.4science.cloud', port: 443, // NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript - nameSpace: '/server/api' + nameSpace: '/server' } }; ``` @@ -52,7 +52,7 @@ Alternately you can set the following environment variables. If any of these are DSPACE_REST_SSL=true DSPACE_REST_HOST=dspace7.4science.cloud DSPACE_REST_PORT=443 - DSPACE_REST_NAMESPACE=/server/api + DSPACE_REST_NAMESPACE=/server ``` ## Supporting analytics services other than Google Analytics diff --git a/src/environments/environment.template.ts b/src/environments/environment.template.ts index d0282ad607..6f6510e1ab 100644 --- a/src/environments/environment.template.ts +++ b/src/environments/environment.template.ts @@ -4,7 +4,7 @@ export const environment = { * e.g. * rest: { * host: 'rest.api', - * nameSpace: '/rest/api', + * nameSpace: '/rest', * } */ };