From 7de1e255431594c3d4e7b1f3832fa709af8a2670 Mon Sep 17 00:00:00 2001 From: DDATAA <45762540+Ddataa@users.noreply.github.com> Date: Thu, 27 Oct 2022 10:04:36 +0000 Subject: [PATCH] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 7ac74f6..e1526f2 100644 --- a/scripts/install +++ b/scripts/install @@ -182,10 +182,10 @@ fi # We don't test that in CI if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then - ynh_permission_url --permission="main" --add_url="$sandboxdomain//" --auth_header=true + ynh_permission_url --permission="main" --add_url="$sandboxdomain" --auth_header=true # there is a bug in core that add a slash at the end of domain in ssowat conf for uris var # so we use ${sandboxdomain%/} to remove the eccessive trailing slash - #ynh_write_var_in_file --file=/etc/ssowat/conf.json --key=cryptpad.main[uris] --value=100 --after=importExportRateLimiting + ynh_write_var_in_file --file=/etc/ssowat/conf.json --key=uris --value=$sandboxdomain/ --after=$sandboxdomain fi #=================================================