restrict upload api following the main url

This commit is contained in:
OniriCorpe 2024-01-17 01:30:55 +01:00
parent 4de9900344
commit b11796f663
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ ram.runtime = "50M"
[resources.permissions]
main.url = "/"
main.additional_urls = "/api/upload"
api.url = "/api"
api.allowed = "visitors"
api.auth_header = false