commit: e4b8aaece6f059c297b7904001f0e60f0279be45
parent bfc7b6af8f3ab91ced3a5287442071637e19a34d
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date: Thu, 7 Apr 2022 07:23:06 +0000
Merge branch 'from/develop/tusooa/fix-shout-local' into 'develop'
Fix phoenix sockets in dev mode
See merge request pleroma/pleroma-fe!1506
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git 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,