From 6b02aaed7dab69e0bb82f105495f9889b6343c1c Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Sun, 19 Oct 2025 01:28:45 -0700 Subject: [PATCH] hide core pubkey copy if origin not https --- frontend/src/components/topbar/components.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/components/topbar/components.tsx b/frontend/src/components/topbar/components.tsx index 5e2f64812..01f8e5dce 100644 --- a/frontend/src/components/topbar/components.tsx +++ b/frontend/src/components/topbar/components.tsx @@ -640,6 +640,10 @@ const KeyboardShortcut = ({ export const CopyCorePubkey = () => { const public_key = useRead("GetCoreInfo", {}).data?.public_key; + + // Don't show for non https, copy / clipboard won't work. + if (!location.protocol.startsWith("https")) return; + return (