diff --git a/config/index.js b/config/index.js index 207dfbd4e0..fdfac8b274 100644 --- a/config/index.js +++ b/config/index.js @@ -21,7 +21,18 @@ module.exports = { port: 8080, assetsSubDirectory: 'static', assetsPublicPath: '/', - proxyTable: {}, + proxyTable: { + '/api': { + target: 'https://social.heldscal.la/', + changeOrigin: true, + cookieDomainRewrite: 'localhost' + }, + '/main': { + target: 'https://social.heldscal.la/', + changeOrigin: true, + cookieDomainRewrite: 'localhost' + } + }, // CSS Sourcemaps off by default because relative paths are "buggy" // with this option, according to the CSS-Loader README // (https://github.com/webpack/css-loader#sourcemaps)