Merge branch 'from/develop/tusooa/fix-shout-local' into 'develop'

Fix phoenix sockets in dev mode

See merge request pleroma/pleroma-fe!1506
This commit is contained in:
HJ 2022-04-07 07:23:06 +00:00
commit e4b8aaece6
1 changed files with 4 additions and 1 deletions

View File

@ -52,7 +52,10 @@ module.exports = {
target, target,
changeOrigin: true, changeOrigin: true,
cookieDomainRewrite: 'localhost', cookieDomainRewrite: 'localhost',
ws: true ws: true,
headers: {
'Origin': target
}
}, },
'/oauth/revoke': { '/oauth/revoke': {
target, target,