Created
December 26, 2018 12:18
-
-
Save BriFuture/35ad256a7ad2abcd4de4fca88a65b7e1 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 = { | |
devServer: { | |
index: 'home.html', | |
// user: 'user.html', | |
proxy: { | |
'/api': { | |
target: 'http://127.0.0.1:5050/api/', | |
changeOrigin: true, | |
pathRewrite: { | |
'^/api': '' | |
} | |
} | |
} | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment