From aeb6fe758a4bb1e9e94ec47b6be9c786b70dde81 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 16 Mar 2024 14:19:13 +0100 Subject: [PATCH] Improve permissions: make /api and /share public --- manifest.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 7008600..4e263c3 100644 --- a/manifest.toml +++ b/manifest.toml @@ -71,7 +71,17 @@ ram.runtime = "200M" [resources.permissions] main.url = "/" - + + api.url = "/api" + api.allowed = "visitors" + api.auth_header = false + api.protected = true + + share.url = "/share" + share.allowed = "visitors" + share.auth_header = false + share.protected = true + [resources.ports] main.default = 4001