summaryrefslogtreecommitdiffstats
path: root/snap-src/bin/wekan-help
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-12-03 16:05:24 +0200
committerLauri Ojansivu <x@xet7.org>2018-12-03 16:05:24 +0200
commitb788deb002aab83fc127d1a8b3f47670258dbb6a (patch)
treeb5002784383ddc73258af9f2b68babd548c0be65 /snap-src/bin/wekan-help
parentfa6b2e567910c5dbe007ab3482a64c9007614788 (diff)
downloadwekan-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-xsnap-src/bin/wekan-help5
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"