add proxy table

This commit is contained in:
vincent 2019-04-24 17:34:01 +02:00
parent 2bdf8ecae2
commit 7d4c4d3c97

View File

@ -56,6 +56,11 @@ module.exports = {
assetsRoot: path.resolve(__dirname, '../../backend/dist'), assetsRoot: path.resolve(__dirname, '../../backend/dist'),
assetsSubDirectory: 'static', assetsSubDirectory: 'static',
assetsPublicPath: '/chainetv/', assetsPublicPath: '/chainetv/',
proxyTable: {
'/api/v1/chaine': {
target: 'chainetv/api/v1/chaine',
changOrigin: false
}
/** /**
* Source Maps * Source Maps