mirror of
https://github.com/YunoHost-Apps/audiobookshelf_ynh.git
synced 2024-09-03 18:06:19 +02:00
Moved auth_header changes to manifest.toml
This commit is contained in:
parent
8ce338eb89
commit
aa5527ba15
2 changed files with 2 additions and 3 deletions
|
@ -49,11 +49,13 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
main.auth_header = false
|
||||||
|
|
||||||
api.url = "/api"
|
api.url = "/api"
|
||||||
api.allowed = "visitors"
|
api.allowed = "visitors"
|
||||||
api.show_tile = false
|
api.show_tile = false
|
||||||
api.protected = true
|
api.protected = true
|
||||||
|
api.auth_header = false
|
||||||
|
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
main.default = 8095
|
main.default = 8095
|
||||||
|
|
|
@ -112,9 +112,6 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring permissions..." --weight=3
|
ynh_script_progression --message="Configuring permissions..." --weight=3
|
||||||
|
|
||||||
ynh_permission_url --permission="main" --auth_header="false"
|
|
||||||
ynh_permission_url --permission="api" --auth_header="false"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue