aboutsummaryrefslogtreecommitdiff
path: root/config/index.js
diff options
context:
space:
mode:
authoreal <eal@waifu.club>2017-12-07 17:08:20 +0000
committereal <eal@waifu.club>2017-12-07 17:08:20 +0000
commit63d29eab3f0e399e8a3b1bbfa35f1717715ffc63 (patch)
treebc0884dff5f19fc69d0248dca141f0f5f6d5eba0 /config/index.js
parentbf7b5a7105e6543411d83ba126dab6b00955c98c (diff)
parentecb8acb155a77092b0661854b0ca4cf3c19ff56e (diff)
Merge branch 'feature/chat' into 'develop'
Feature/chat See merge request pleroma/pleroma-fe!182
Diffstat (limited to 'config/index.js')
-rw-r--r--config/index.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/index.js b/config/index.js
index 6652048c..c48d91b8 100644
--- a/config/index.js
+++ b/config/index.js
@@ -23,9 +23,15 @@ module.exports = {
assetsPublicPath: '/',
proxyTable: {
'/api': {
- target: 'https://social.heldscal.la/',
+ target: 'htts://localhost:4000/',
changeOrigin: true,
cookieDomainRewrite: 'localhost'
+ },
+ '/socket': {
+ target: 'htts://localhost:4000/',
+ changeOrigin: true,
+ cookieDomainRewrite: 'localhost',
+ ws: true
}
},
// CSS Sourcemaps off by default because relative paths are "buggy"