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
db12c853b2
commit
06a8d8b56d
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue