1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

fix api access

This commit is contained in:
Clément 2019-10-24 20:02:48 +02:00
parent b159c2a417
commit a87fb85e6e

View file

@ -176,7 +176,9 @@ $final_path/cli/reconfigure.php --default_user $admin --auth_type http_auth --en
#================================================= #=================================================
ynh_print_info --message="Upgrading SSOwat configuration..." ynh_print_info --message="Upgrading SSOwat configuration..."
ynh_app_setting_set --app="$app" --key=unprotected_regex --value="^\/api\/.*|\/scripts\/api.js$" ynh_app_setting_set --app="$app" --key=unprotected_uris --value="/api/,/scripts/api.js"
ynh_app_setting_delete --app="$app" --key=unprotected_regex
ynh_app_setting_delete --app="$app" --key=skipped_uris
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX