aboutsummaryrefslogtreecommitdiff
path: root/config/index.js
diff options
context:
space:
mode:
authorIlja <ilja@ilja.space>2022-07-18 12:33:03 +0200
committerIlja <ilja@ilja.space>2022-07-18 12:42:40 +0200
commit18d69f93d38dc15a74db81ee4c10b4766bebfc35 (patch)
tree56763764de2ef984f498d3507c6ebead3099c57d /config/index.js
parente594252668256197d9b68f1db1f7108c5255d275 (diff)
parent9ddb43296f3fbb6621e646a20e86e05b6c730ad2 (diff)
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into feat/report-notification
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,