Skip to content
Snippets Groups Projects
Commit eb9873ac authored by lain's avatar lain
Browse files

Add proxied routes.

parent 4c2764c7
Branches
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment