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
11d5f732ee
commit
3a63e02add
1 changed files with 11 additions and 1 deletions
|
@ -71,6 +71,16 @@ ram.runtime = "200M"
|
|||
[resources.permissions]
|
||||
main.url = "/"
|
||||
|
||||
api.url = "/api"
|
||||
api.allow = "visitors"
|
||||
api.auth_header = false
|
||||
api.protect = true
|
||||
|
||||
share.url = "/share"
|
||||
share.allow = "visitors"
|
||||
share.auth_header = false
|
||||
share.protect = true
|
||||
|
||||
[resources.ports]
|
||||
main.default = 4001
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue