1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lemmy_ynh.git synced 2024-09-03 19:36:09 +02:00

add separate permission for API endpoint

This commit is contained in:
Matthew DeAbreu 2023-07-07 15:16:53 -07:00 committed by GitHub
parent 42ff1bed4d
commit 09b648e175
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,11 @@ ram.runtime = "50M"
[resources.permissions] [resources.permissions]
main.url = "/" main.url = "/"
api.url = "/api"
api.allowed = "visitors"
api.auth_header = false
api.show_tile = false
api.protected = true
[resources.apt] [resources.apt]
packages = "postgresql espeak" packages = "postgresql espeak"