From c58b4f8d7b102ad86b74fbce1d4bb039d39a4a60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emrik=20=C3=96stling?= Date: Tue, 15 Sep 2026 21:14:20 +0200 Subject: [PATCH] gate URL ui --- src/pages/root.tsx | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/src/pages/root.tsx b/src/pages/root.tsx index d5efcaeb..b629d5c1 100644 --- a/src/pages/root.tsx +++ b/src/pages/root.tsx @@ -9,6 +9,7 @@ import { User } from "../db/types"; import { ACCOUNT_REGISTRATION, ALLOW_UNAUTHENTICATED, + ALLOW_URL_UPLOAD, HIDE_HISTORY, HTTP_ALLOWED, UNAUTHENTICATED_USER_SHARING, @@ -152,20 +153,22 @@ export const root = new Elysia().use(userService).get( class="absolute inset-0 size-full cursor-pointer opacity-0" /> - + {ALLOW_URL_UPLOAD && ( + + )}