From ec87813a257e63f8a161e7bc04679e9fab6fbcf6 Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sun, 9 Nov 2025 12:21:54 +0000
Subject: feat(extension): Add custom header support for extension (#2111)

Fixes #1287
---
 apps/browser-extension/src/NotConfiguredPage.tsx | 13 +++++++++++++
 1 file changed, 13 insertions(+)

(limited to 'apps/browser-extension/src/NotConfiguredPage.tsx')

diff --git a/apps/browser-extension/src/NotConfiguredPage.tsx b/apps/browser-extension/src/NotConfiguredPage.tsx
index ed8cbeb4..94b95ed4 100644
--- a/apps/browser-extension/src/NotConfiguredPage.tsx
+++ b/apps/browser-extension/src/NotConfiguredPage.tsx
@@ -14,6 +14,7 @@ export default function NotConfiguredPage() {
 
   const [error, setError] = useState("");
   const [serverAddress, setServerAddress] = useState(settings.address);
+
   useEffect(() => {
     setServerAddress(settings.address);
   }, [settings.address]);
@@ -51,6 +52,18 @@ export default function NotConfiguredPage() {
           onChange={(e) => setServerAddress(e.target.value)}
         />
       </div>
+      <div className="flex justify-start">
+        <button
+          type="button"
+          onClick={() => navigate("/customheaders")}
+          className="text-xs text-muted-foreground underline hover:text-foreground"
+        >
+          Configure Custom Headers
+          {settings.customHeaders &&
+            Object.keys(settings.customHeaders).length > 0 &&
+            ` (${Object.keys(settings.customHeaders).length})`}
+        </button>
+      </div>
       <Button onClick={onSave}>Configure</Button>
     </div>
   );
-- 
cgit v1.2.3-70-g09d2

