export default {
    "/api/*": {
        "target": "https://<insert your VCD endpoint here>",
        "secure": false,
        "logLevel": "debug",
        "changeOrigin": true
    },
    "/cloudapi/*": {
        "target": "https://<insert your VCD endpoint here>",
        "secure": false,
        "logLevel": "debug",
        "changeOrigin": true
    },
    "/oidc/*": {
        "target": "https://<insert your VCD endpoint here>",
        "secure": false,
        "logLevel": "debug",
        "changeOrigin": true,
        "bypass": function (req, res, proxyOptions) {
            delete req.headers['Origin'];
            delete req.headers['origin'];
            delete req.headers['Host'];
            delete req.headers['host'];
        }
    },
};
