aboutsummaryrefslogtreecommitdiff
path: root/config/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/index.js')
-rw-r--r--config/index.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/index.js b/config/index.js
index 7cb87c3b..023d4c9b 100644
--- a/config/index.js
+++ b/config/index.js
@@ -52,7 +52,10 @@ module.exports = {
target,
changeOrigin: true,
cookieDomainRewrite: 'localhost',
- ws: true
+ ws: true,
+ headers: {
+ 'Origin': target
+ }
},
'/oauth/revoke': {
target,