Created
April 1, 2019 11:24
-
-
Save dexterlabora/ffb1a0c54ee96c18fa7b0a566b260baf to your computer and use it in GitHub Desktop.
Meraki API proxy config for VueJS with Webpack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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