1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoview_ynh.git synced 2024-09-03 20:05:55 +02:00

Merge pull request #39 from YunoHost-Apps/enh-permissions

Improve permissions: make /api and /share public
This commit is contained in:
eric_G 2024-05-02 22:42:11 +02:00 committed by GitHub
commit f2321f2b0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,7 +70,17 @@ 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