remove remaining uses of /api in the rest namespace

This commit is contained in:
Art Lowel
2020-09-30 11:15:50 +02:00
parent c67d2e6718
commit 24706f0cc4
2 changed files with 2 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ env:
# Direct that step to utilize a DSpace REST service that has been started in docker.
DSPACE_REST_HOST: localhost
DSPACE_REST_PORT: 8080
DSPACE_REST_NAMESPACE: '/server/api'
DSPACE_REST_NAMESPACE: '/server'
DSPACE_REST_SSL: false
before_install:

View File

@@ -16,13 +16,12 @@ export const environment: GlobalConfig = {
},
// The REST API server settings.
// NOTE: these must be "synced" with the 'dspace.server.url' setting in your backend's local.cfg.
// The 'nameSpace' must always end in "/api" as that's the subpath of the REST API in the backend.
rest: {
ssl: true,
host: 'dspace7.4science.cloud',
port: 443,
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
nameSpace: '/server/api',
nameSpace: '/server',
},
// Caching settings
cache: {