Skip to content

Commit 8c0b9a8

Browse files
authored
chore: proxy http-server in dev mode (#100)
Co-authored-by: Borewit <Borewit@users.noreply.github.com>
1 parent 635a53b commit 8c0b9a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

webpack.dev.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ module.exports = {
1313
port: 9000,
1414
hot: true,
1515
open: true,
16+
proxy: [{
17+
context: ['/music/**'],
18+
target: 'http://localhost:8080',
19+
changeOrigin: true,
20+
}],
1621
},
1722
module: {
1823
rules: [

0 commit comments

Comments
 (0)