UNPKG

@barchart/common-node-js

Version:

Common classes, utilities, and functions for building Node.js servers

56 lines (48 loc) 993 B
module.exports = (() => { 'use strict'; /** * Static configuration data. * * @public * @ignore */ class Configuration { constructor() { } /** * The hostname of the REST API for the staging environment (public use allowed). * * @public * @static * @returns {String} */ static get stagingHost() { return 'push-notifications-stage.aws.barchart.com'; } /** * The hostname of the REST API for the production environment (public use allowed). * * @public * @static * @returns {String} */ static get productionHost() { return 'push-notifications.aws.barchart.com'; } /** * The hostname of REST API which generates impersonation tokens for non-secure * test and demo environments. * * @public * @static * @returns {string} */ static get getJwtImpersonationHost() { return 'jwt-public-stage.aws.barchart.com'; } toString() { return '[Configuration]'; } } return Configuration; })();