UNPKG

sample-pilet-service

Version:

Piral: Sample pilet feed service.

12 lines 696 B
"use strict"; var _a; Object.defineProperty(exports, "__esModule", { value: true }); exports.defaultFilePath = exports.defaultLoginPath = exports.defaultAuthPath = exports.defaultPiletPath = exports.defaultSnapshotDir = exports.defaultPort = exports.defaultProtocol = void 0; exports.defaultProtocol = process.env.HTTPS ? 'https' : 'http'; exports.defaultPort = +(process.env.PORT || 9000); exports.defaultSnapshotDir = (_a = process.env.PILETS_SNAPSHOT) !== null && _a !== void 0 ? _a : 'pilets'; exports.defaultPiletPath = `/api/v1/pilet`; exports.defaultAuthPath = `/api/v1/auth`; exports.defaultLoginPath = `/login`; exports.defaultFilePath = '/files/*'; //# sourceMappingURL=constants.js.map