diff options
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" |