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

Merge pull request #59 from mdeabreu/patch-1

Separate permission for API endpoint
This commit is contained in:
Éric Gaspar 2023-07-08 09:26:58 +02:00 committed by GitHub
commit dd37ab584b
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"