mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
fix api check
This commit is contained in:
parent
a4cb702ff3
commit
92588aec77
2 changed files with 4 additions and 4 deletions
|
@ -161,9 +161,9 @@ chown -R $app: $final_path/extensions/
|
|||
ynh_print_info --message="Configuring SSOwat..."
|
||||
|
||||
#skip api directory
|
||||
ynh_app_setting_set --app="$app" --key=unprotected_uris --value="/api/,/scripts/api.js"
|
||||
ynh_app_setting_set --app="$app" --key=skipped_uris --value="/api/,/scripts/api.js"
|
||||
ynh_app_setting_delete --app="$app" --key=unprotected_regex
|
||||
ynh_app_setting_delete --app="$app" --key=skipped_uris
|
||||
ynh_app_setting_delete --app="$app" --key=unprotected_uris
|
||||
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -180,9 +180,9 @@ $final_path/cli/reconfigure.php --default_user $admin --auth_type http_auth --en
|
|||
#=================================================
|
||||
ynh_print_info --message="Upgrading SSOwat configuration..."
|
||||
|
||||
ynh_app_setting_set --app="$app" --key=unprotected_uris --value="/api/,/scripts/api.js"
|
||||
ynh_app_setting_set --app="$app" --key=skipped_uris --value="/api/,/scripts/api.js"
|
||||
ynh_app_setting_delete --app="$app" --key=unprotected_regex
|
||||
ynh_app_setting_delete --app="$app" --key=skipped_uris
|
||||
ynh_app_setting_delete --app="$app" --key=unprotected_uris
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
|
|
Loading…
Add table
Reference in a new issue