remove remaining uses of /api in the rest namespace

This commit is contained in:
Art Lowel
2020-09-30 17:14:31 +02:00
parent 24706f0cc4
commit 4f16f21a7d
3 changed files with 4 additions and 4 deletions

View File

@@ -13,6 +13,6 @@ export const environment = {
host: 'localhost', host: 'localhost',
port: 8080, port: 8080,
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript // NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
nameSpace: '/server/api' nameSpace: '/server'
} }
}; };

View File

@@ -42,7 +42,7 @@ export const environment = {
host: 'dspace7.4science.cloud', host: 'dspace7.4science.cloud',
port: 443, port: 443,
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript // 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_SSL=true
DSPACE_REST_HOST=dspace7.4science.cloud DSPACE_REST_HOST=dspace7.4science.cloud
DSPACE_REST_PORT=443 DSPACE_REST_PORT=443
DSPACE_REST_NAMESPACE=/server/api DSPACE_REST_NAMESPACE=/server
``` ```
## Supporting analytics services other than Google Analytics ## Supporting analytics services other than Google Analytics

View File

@@ -4,7 +4,7 @@ export const environment = {
* e.g. * e.g.
* rest: { * rest: {
* host: 'rest.api', * host: 'rest.api',
* nameSpace: '/rest/api', * nameSpace: '/rest',
* } * }
*/ */
}; };