1
0
Fork 0
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:
tituspijean 2024-03-16 14:19:13 +01:00 committed by Félix Piédallu
parent 035ae1179a
commit aeb6fe758a

View file

@ -72,6 +72,16 @@ ram.runtime = "200M"
[resources.permissions] [resources.permissions]
main.url = "/" 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] [resources.ports]
main.default = 4001 main.default = 4001