Files
arbiter/node_modules/http-proxy-middleware/dist/configuration.js
2025-03-19 22:47:50 -05:00

10 lines
315 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.verifyConfig = verifyConfig;
const errors_1 = require("./errors");
function verifyConfig(options) {
if (!options.target && !options.router) {
throw new Error(errors_1.ERRORS.ERR_CONFIG_FACTORY_TARGET_MISSING);
}
}