Add comments about syncing with local.cfg

This seems to be a common question of users. Clarifying via comments.
This commit is contained in:
Tim Donohue
2020-07-24 11:36:52 -05:00
committed by GitHub
parent 095d5f3299
commit 1a46031e4d

View File

@@ -6,6 +6,7 @@ import { RestRequestMethod } from '../app/core/data/rest-request-method';
export const environment: GlobalConfig = {
production: true,
// Angular Universal server settings.
// NOTE: these must be "synced" with the 'dspace.ui.url' setting in your backend's local.cfg.
ui: {
ssl: false,
host: 'localhost',
@@ -14,6 +15,8 @@ export const environment: GlobalConfig = {
nameSpace: '/',
},
// 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',