From 23e9736e4216a928ddf83b0739bcd8a60b3cf22b 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 af560cd..3aeaad2 100644 --- a/manifest.toml +++ b/manifest.toml @@ -70,7 +70,17 @@ ram.runtime = "200M" [resources.permissions] main.url = "/" - + + api.url = "/api" + api.allow = "visitors" + api.auth_header = false + api.protect = true + + share.url = "/share" + share.allow = "visitors" + share.auth_header = false + share.protect = true + [resources.ports] main.default = 4001