summaryrefslogtreecommitdiffstats
path: root/start-wekan.bat
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-06-11 16:32:42 +0300
committerLauri Ojansivu <x@xet7.org>2019-06-11 16:32:42 +0300
commit86e7e1c600096101cb0d594b22fffe4dae481ef4 (patch)
tree19c6c46ecb99d5da3a8c6e96cc88c62626131737 /start-wekan.bat
parente540148d0908e3b28ebb1daac66c44357007cd0c (diff)
downloadwekan-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 'start-wekan.bat')
-rwxr-xr-xstart-wekan.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/start-wekan.bat b/start-wekan.bat
index 3c8da9a3..1c52b8f7 100755
--- a/start-wekan.bat
+++ b/start-wekan.bat
@@ -31,6 +31,13 @@ REM SET ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE=3
REM SET ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60
REM SET ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15
+REM # CORS: Set Access-Control-Allow-Origin header. Example: *
+REM SET CORS=*
+REM # To enable the Set Access-Control-Allow-Headers header. "Authorization,Content-Type" is required for cross-origin use of the API.
+REM SET CORS_ALLOW_HEADERS=Authorization,Content-Type
+REM # To enable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: *
+REM SET CORS_EXPOSE_HEADERS=*
+
REM # Optional: Integration with Matomo https://matomo.org that is installed to your server
REM # The address of the server where Matomo is hosted.
REM # example: - MATOMO_ADDRESS=https://example.com/matomo