diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-04-07 07:23:06 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-04-07 07:23:06 +0000 |
| commit | e4b8aaece6f059c297b7904001f0e60f0279be45 (patch) | |
| tree | 4763e7041301eee57cf9b00ef306c80069b60791 | |
| parent | bfc7b6af8f3ab91ced3a5287442071637e19a34d (diff) | |
| parent | 741a59e0cc4047487aee03e292329ff9ac17bbd6 (diff) | |
Merge branch 'from/develop/tusooa/fix-shout-local' into 'develop'
Fix phoenix sockets in dev mode
See merge request pleroma/pleroma-fe!1506
| -rw-r--r-- | config/index.js | 5 |
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, |
