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:
parent
b159c2a417
commit
a87fb85e6e
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue