aboutsummaryrefslogtreecommitdiff
path: root/config/index.js
diff options
context:
space:
mode:
authorRoger Braun <rbraun@Bobble.local>2017-12-04 19:08:33 +0100
committerRoger Braun <rbraun@Bobble.local>2017-12-04 19:08:33 +0100
commitfbee80474baf3bfc41656268e22395983811f2f7 (patch)
treeaf15746662fd6c038966eadd7143e774b6c5375e /config/index.js
parentf72d6ec83ef753241a9329306c0b3fdf1c3cf534 (diff)
Basic frontend changes for chat.
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"