UNPKG

ng-spec-shot-reviewer

Version:

combined server of spec shot reviewer backend and optionally multiple static websites (e.g. compiled angular apps)

17 lines 865 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const server_config_model_1 = require("./server-config.model"); const path_1 = require("path"); class SsrAppConfig { constructor(baseDir, port = 8090, hostname = '0.0.0.0', testPageUrl = '/express-test', backendUrl = '/ssr-server', reservedPathes = [testPageUrl, backendUrl], angularAppsFolder = path_1.join(baseDir, 'dist'), endpoint = new server_config_model_1.SsrServerConfig(path_1.join(baseDir, 'e2e', 'spec-shots'))) { this.port = port; this.hostname = hostname; this.testPageUrl = testPageUrl; this.backendUrl = backendUrl; this.reservedPathes = reservedPathes; this.angularAppsFolder = angularAppsFolder; this.endpoint = endpoint; } } exports.SsrAppConfig = SsrAppConfig; //# sourceMappingURL=app-config.model.js.map