Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bootstrap.js 759B

123456789101112131415161718192021222324252627282930
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var _Logger = _interopRequireDefault(require("../Logger"));
  7. var _factories = require("../factories");
  8. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  9. const log = _Logger.default.child({
  10. namespace: 'bootstrap'
  11. });
  12. const bootstrap = configurationInput => {
  13. if (global.GLOBAL_AGENT) {
  14. log.warn('found global.GLOBAL_AGENT; second attempt to bootstrap global-agent was ignored');
  15. return false;
  16. }
  17. global.GLOBAL_AGENT = (0, _factories.createGlobalProxyAgent)(configurationInput);
  18. return true;
  19. };
  20. var _default = bootstrap;
  21. exports.default = _default;
  22. //# sourceMappingURL=bootstrap.js.map