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-22 21:16:46 +02:00
parent db12c853b2
commit 06a8d8b56d

View file

@ -157,8 +157,10 @@ chown -R $app: $final_path/extensions/
ynh_print_info --message="Configuring SSOwat..."
#skip api directory
ynh_app_setting_set --app="$app" --key=unprotected_regex --value="^\/api\/.*|\/scripts\/api.js$"
ynh_app_setting_delete --app="$app" --key=unprotected_uris
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