diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-06-11 16:32:42 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-06-11 16:32:42 +0300 |
commit | 86e7e1c600096101cb0d594b22fffe4dae481ef4 (patch) | |
tree | 19c6c46ecb99d5da3a8c6e96cc88c62626131737 /releases | |
parent | e540148d0908e3b28ebb1daac66c44357007cd0c (diff) | |
download | wekan-86e7e1c600096101cb0d594b22fffe4dae481ef4.tar.gz wekan-86e7e1c600096101cb0d594b22fffe4dae481ef4.tar.bz2 wekan-86e7e1c600096101cb0d594b22fffe4dae481ef4.zip |
More CORS headers settings related to https://github.com/wekan/wekan/pull/2429
Thanks to xet7 !
Diffstat (limited to 'releases')
-rwxr-xr-x | releases/virtualbox/start-wekan.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/releases/virtualbox/start-wekan.sh b/releases/virtualbox/start-wekan.sh index ae320df5..4d03182c 100755 --- a/releases/virtualbox/start-wekan.sh +++ b/releases/virtualbox/start-wekan.sh @@ -38,6 +38,10 @@ #--------------------------------------------- # CORS: Set Access-Control-Allow-Origin header. Example: * #export CORS=* + # To enable the Set Access-Control-Allow-Headers header. "Authorization,Content-Type" is required for cross-origin use of the API. + #export CORS_ALLOW_HEADERS=Authorization,Content-Type + # To enable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: * + #export CORS_EXPOSE_HEADERS=* #--------------------------------------------- ## Optional: Integration with Matomo https://matomo.org that is installed to your server ## The address of the server where Matomo is hosted: |