mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Bring config into server.
This commit is contained in:
@@ -4,12 +4,16 @@ module.exports = {
|
||||
"rest": {
|
||||
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
|
||||
"nameSpace": "/api",
|
||||
"baseURL": "http://localhost:3000"
|
||||
"protocol": "http",
|
||||
"address": "localhost",
|
||||
"port": 3000
|
||||
},
|
||||
// Path and Port in use for this Angular2 UI
|
||||
"ui": {
|
||||
"nameSpace": "/",
|
||||
"baseURL": "http://localhost:3000"
|
||||
"protocol": "http",
|
||||
"address": "localhost",
|
||||
"port": 3000
|
||||
},
|
||||
"cache": {
|
||||
// how long should objects be cached for by default
|
||||
@@ -17,6 +21,8 @@ module.exports = {
|
||||
},
|
||||
"universal": {
|
||||
//on the client: start with the state on the server
|
||||
"shouldRehydrate": true
|
||||
"shouldRehydrate": true,
|
||||
"preboot": true,
|
||||
"async": true
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user