Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Meraki API proxy config for VueJS with Webpack
module.exports = {
devServer: {
proxy: {
"/api/*": {
target: "https://api.meraki.com/api/v0",
secure: false,
changeOrigin: true,
pathRewrite: {
"^/api": ""
},
logLevel: "debug"
}
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment