Last active
September 22, 2019 20:30
-
-
Save mrchoke/e4e03a1dcccd080e28b35d854d6f9766 to your computer and use it in GitHub Desktop.
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 = { | |
productionSourceMap: false, | |
devServer: { | |
compress: true, | |
proxy: { | |
'^/api': { | |
target: 'http://api/', | |
pathRewrite: { '^/api': '' }, | |
changeOrigin: true | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment