1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-12-23 01:46:39 +01:00

Add proxied routes.

This commit is contained in:
Roger Braun 2016-10-27 18:01:33 +02:00
parent 4c2764c747
commit eb9873ac74

View File

@ -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)