Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed the prefix infromation per RDPP-1734

...

Code Block
title./conf/default.js
{
  admin: {
    // control whether the admin website is available
    enabled: true,

    // the prefix for the public apidocs website
    apiDocPrefix: '/apidoc',

    // if you set disableAPIDoc, your APIs docs will not show up (Only works in production. Swagger is always available in dev mode.)
    disableAPIDoc: false,

    // set the email addresses you want to enable while in production
    validEmails: ["jsmith@foo.com"],

    // set the organization ids you want to enable while in production
    validOrgs: [199546299]

    // set the list of IP addresses, IP ranges and hostnames from which connections to the admin interfaces 
    // will be accepted
    allowedHosts: [
        '127.0.0.1',
        'myhost.axawy.com',
        '10.1.1.1/24',
    ]
  }
}

...