Skip to content
Snippets Groups Projects
environment.default.js 1001 B
Newer Older
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
  // The REST API server settings.
  rest: {
    // NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
    nameSpace: '/dspace-spring-rest/api'
  // Caching settings
    // NOTE: how long should objects be cached for by default
    msToLive: 15 * 60 * 1000, // 15 minute
    control: 'max-age=60' // revalidate browser
  // Notifications
  notifications: {
    rtl: false,
    position: ['top', 'right'],
    maxStack: 8
  },
  // Angular Universal settings
  universal: {
    preboot: true,
    async: true,
    time: false
  },
  // Log directory
  logDirectory: '.',
  // NOTE: will log all redux actions and transfers in console
  debug: false