diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-12-03 16:05:24 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-12-03 16:05:24 +0200 |
commit | b788deb002aab83fc127d1a8b3f47670258dbb6a (patch) | |
tree | b5002784383ddc73258af9f2b68babd548c0be65 /snap-src/bin/wekan-help | |
parent | fa6b2e567910c5dbe007ab3482a64c9007614788 (diff) | |
download | wekan-b788deb002aab83fc127d1a8b3f47670258dbb6a.tar.gz wekan-b788deb002aab83fc127d1a8b3f47670258dbb6a.tar.bz2 wekan-b788deb002aab83fc127d1a8b3f47670258dbb6a.zip |
- Add CORS https://enable-cors.org/server_meteor.html
- Add missing LDAP and TIMER environment variables.
Thanks to xet7 !
Closes wekan/wekan-snap#69
Diffstat (limited to 'snap-src/bin/wekan-help')
-rwxr-xr-x | snap-src/bin/wekan-help | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help index 4bd7c277..804f9ad6 100755 --- a/snap-src/bin/wekan-help +++ b/snap-src/bin/wekan-help @@ -33,6 +33,11 @@ echo -e "\t$ snap set $SNAP_NAME WITH_API='true'" echo -e "\t-Disable the API:" echo -e "\t$ snap set $SNAP_NAME WITH_API='false'" echo -e "\n" +echo -e "To enable the CORS of wekan, to set Access-Control-Allow-Origin header:" +echo -e "\t$ snap set $SNAP_NAME CORS='*'" +echo -e "\t-Disable the CORS:" +echo -e "\t$ snap set $SNAP_NAME CORS=''" +echo -e "\n" echo -e "Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside." echo -e "\t\t Setting this to false is not recommended, it also disables all other browser policy protections" echo -e "\t\t and allows all iframing etc. See wekan/server/policy.js" |