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:
commit
dd37ab584b
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