Commit 9ec4e2d1 authored by Ave's avatar Ave 🤔

Remove cors headers to fix registration issues

Closes #2
parent c61ff727
......@@ -14,6 +14,8 @@ For maximum compliance, you'll need to include equivalent dns records to those i
Right now, a3.pm ejabberd runs a version of ejabberd we built ourselves with `make distclean && ./autogen.sh && ./configure --disable-elixir --enable-pgsql && make && sudo make install` (thanks a LOT to people on the ejabberd MUC for help with this), as ejabberd 18.12 has a bug with carbons.
Note: 18.12.1 is now officially packaged and released. We might move back to that in the future. You're encouraged to use that instead.
---
### Licenses
......
......@@ -193,11 +193,6 @@ listen:
"/bosh": mod_bosh
"/oauth": ejabberd_oauth
"/api": mod_http_api
custom_headers:
"Access-Control-Allow-Origin": "*"
"Access-Control-Allow-Methods": "OPTIONS, HEAD, GET, POST, PUT"
"Access-Control-Allow-Headers": "DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range"
"Access-Control-Expose-Headers": "Content-Length,Content-Range,Content-Type"
## "/pub/archive": mod_http_fileserver
# web_admin: true
## register: true
......@@ -208,11 +203,6 @@ listen:
ip: "::"
module: ejabberd_http
tls: true
custom_headers:
"Access-Control-Allow-Origin": "*"
"Access-Control-Allow-Methods": "OPTIONS, HEAD, GET, POST, PUT"
"Access-Control-Allow-Headers": "DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range"
"Access-Control-Expose-Headers": "Content-Length,Content-Range,Content-Type"
http_bind: true
# web_admin: true
## register: true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment