From 9ac7937b139907183777e2b64a995574d59234a7 Mon Sep 17 00:00:00 2001 From: orhtej2 <2871798+orhtej2@users.noreply.github.com> Date: Thu, 24 Aug 2023 23:29:15 +0200 Subject: [PATCH] Allow unrestricted access to `/script.js`. This allows embedding tracking code without exposing admin UI to everyone. --- manifest.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index a6d7b8f..8a8146c 100644 --- a/manifest.toml +++ b/manifest.toml @@ -62,7 +62,11 @@ ram.runtime = "50M" api.url = "/api" api.show_tile = false api.allowed = "visitors" - api.auth_header = false + api.auth_header = false + script.url = "/script.js" + script.show_tile = false + script.allowed = "visitors" + script.auth_header = false [resources.apt] packages = "postgresql"