mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
37 lines
948 B
JavaScript
37 lines
948 B
JavaScript
module.exports = {
|
|
// Angular Universal server settings.
|
|
ui: {
|
|
ssl: false,
|
|
host: 'localhost',
|
|
port: 3000,
|
|
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
|
|
nameSpace: '/'
|
|
},
|
|
// The REST API server settings.
|
|
rest: {
|
|
ssl: true,
|
|
host: 'dspace7.4science.it',
|
|
port: 443,
|
|
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
|
|
nameSpace: '/dspace-spring-rest/api'
|
|
},
|
|
// Caching settings
|
|
cache: {
|
|
// NOTE: how long should objects be cached for by default
|
|
msToLive: 15 * 60 * 1000, // 15 minute
|
|
control: 'max-age=60' // revalidate browser
|
|
},
|
|
// Angular Universal settings
|
|
universal: {
|
|
preboot: true,
|
|
async: true,
|
|
time: false
|
|
},
|
|
// Google Analytics tracking id
|
|
gaTrackingId: '',
|
|
// Log directory
|
|
logDirectory: '.',
|
|
// NOTE: will log all redux actions and transfers in console
|
|
debug: false
|
|
};
|