mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
29 lines
690 B
JavaScript
29 lines
690 B
JavaScript
module.exports = {
|
|
"production": false,
|
|
// The REST API Location.
|
|
"rest": {
|
|
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
|
|
"nameSpace": "/api",
|
|
"protocol": "http",
|
|
"address": "localhost",
|
|
"port": 3000
|
|
},
|
|
// Path and Port in use for this Angular2 UI
|
|
"ui": {
|
|
"nameSpace": "/",
|
|
"protocol": "http",
|
|
"address": "localhost",
|
|
"port": 3000
|
|
},
|
|
"cache": {
|
|
// how long should objects be cached for by default
|
|
"msToLive": 15 * 60 * 1000, //15 minutes
|
|
},
|
|
"universal": {
|
|
//on the client: start with the state on the server
|
|
"shouldRehydrate": true,
|
|
"preboot": true,
|
|
"async": true
|
|
}
|
|
};
|