mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 19:13:08 +00:00
Add comments about syncing with local.cfg
This seems to be a common question of users. Clarifying via comments.
This commit is contained in:
@@ -6,6 +6,7 @@ import { RestRequestMethod } from '../app/core/data/rest-request-method';
|
|||||||
export const environment: GlobalConfig = {
|
export const environment: GlobalConfig = {
|
||||||
production: true,
|
production: true,
|
||||||
// Angular Universal server settings.
|
// Angular Universal server settings.
|
||||||
|
// NOTE: these must be "synced" with the 'dspace.ui.url' setting in your backend's local.cfg.
|
||||||
ui: {
|
ui: {
|
||||||
ssl: false,
|
ssl: false,
|
||||||
host: 'localhost',
|
host: 'localhost',
|
||||||
@@ -14,6 +15,8 @@ export const environment: GlobalConfig = {
|
|||||||
nameSpace: '/',
|
nameSpace: '/',
|
||||||
},
|
},
|
||||||
// The REST API server settings.
|
// 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: {
|
rest: {
|
||||||
ssl: true,
|
ssl: true,
|
||||||
host: 'dspace7.4science.cloud',
|
host: 'dspace7.4science.cloud',
|
||||||
|
Reference in New Issue
Block a user