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:
parent
42ff1bed4d
commit
09b648e175
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue