Feature: Now the repack works well

This commit is contained in:
winkidney
2019-11-25 23:48:01 +08:00
committed by Isaac Bythewood
parent a9f19e3777
commit c8b867145f
4 changed files with 152 additions and 6 deletions

View File

@@ -5,9 +5,10 @@ module.exports = {
target: 'http://localhost:8000/',
changeOrigin: true,
ws: true,
pathRewrite: {
'^/api': '/api',
},
},
'/static/media': {
target: 'http://localhost:8000/',
changeOrigin: true,
},
},
},