Converse.js registration - CORS bug
@codepupper reported issues with converse.js registration, browser console says
conversejs.html#converse/register:1 Failed to load https://x.a3.pm:5281/http-bind: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Origin 'https://a3.pm' is therefore not allowed access.
I believe there is some misconfiguration on ejabberd or NGINX. Most probably ejabberd, but I can't seem to get it right, since https://gitlab.com/lavatech/a3.pm/blob/master/ejabberd.yml#L197 says "*"
for the given header.
Edited by luna