aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-09-17 18:54:34 +0300
committerHenry Jameson <me@hjkos.com>2018-09-17 18:54:34 +0300
commit347c2c02df7bf353321086b68da65dfe6c8fea06 (patch)
treec0f4f6c8ce68b0c34f1ed2288fffc5a5713408e1 /config
parent9467462ef0c3ed450332a1e2335dce52b7d578f1 (diff)
proxying nodeinfo
Diffstat (limited to 'config')
-rw-r--r--config/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/index.js b/config/index.js
index 5d2cb833..7b0ef26c 100644
--- a/config/index.js
+++ b/config/index.js
@@ -27,6 +27,11 @@ module.exports = {
changeOrigin: true,
cookieDomainRewrite: 'localhost'
},
+ '/nodeinfo': {
+ target: 'http://localhost:4000/',
+ changeOrigin: true,
+ cookieDomainRewrite: 'localhost'
+ },
'/socket': {
target: 'http://localhost:4000/',
changeOrigin: true,