rroemhild / docker-ejabberd

Dockerfile for Ejabberd server
MIT License
268 stars 160 forks source link

Feature: permissive HTTP CORS by default #198

Open s-sokolko opened 5 years ago

s-sokolko commented 5 years ago

When using HTTP web file uploads an error occurs. It is due to the CORS settings problem as described here https://www.ejabberd.im/forum/25600/httpupload-cors-problem-external-web-app/index.html

I added the proposed headers and tested on my server: the upload works with the modifications