mirror of
https://github.com/YunoHost-Apps/photoview_ynh.git
synced 2024-09-03 20:05:55 +02:00
Improve permissions: make /api and /share public
This commit is contained in:
parent
035ae1179a
commit
aeb6fe758a
1 changed files with 11 additions and 1 deletions
|
@ -71,7 +71,17 @@ ram.runtime = "200M"
|
|||
|
||||
[resources.permissions]
|
||||
main.url = "/"
|
||||
|
||||
|
||||
api.url = "/api"
|
||||
api.allowed = "visitors"
|
||||
api.auth_header = false
|
||||
api.protected = true
|
||||
|
||||
share.url = "/share"
|
||||
share.allowed = "visitors"
|
||||
share.auth_header = false
|
||||
share.protected = true
|
||||
|
||||
[resources.ports]
|
||||
main.default = 4001
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue