UNPKG

@bull-board/api

Version:

A Dashboard server API built on top of bull or bullmq.

21 lines 803 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.entryPoint = entryPoint; function entryPoint(params) { var _a, _b; const basePath = params.basePath.endsWith('/') ? params.basePath : `${params.basePath}/`; const uiConfig = JSON.stringify(params.uiConfig) .replace(/</g, '\\u003c') .replace(/>/g, '\\u003e'); return { name: 'index.ejs', params: { basePath, uiConfig, title: params.uiConfig.boardTitle, favIconDefault: (_a = params.uiConfig.favIcon) === null || _a === void 0 ? void 0 : _a.default, favIconAlternative: (_b = params.uiConfig.favIcon) === null || _b === void 0 ? void 0 : _b.alternative, }, }; } //# sourceMappingURL=entryPoint.js.map