← Files RivetARCHIVED FILE
node_modules/http-proxy-middleware/dist/configuration.js
315 Bytes · Nov 7, 2026 · 13:16 UTC
"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);
}
}
SHA-256: 21f397828e1fef75fccf7cabfcffe0b58f483edb31ba8fb6feb8293b98d5d69c