Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix: Fix allow links with trailing slashes in extension configuration. Fixes #18

MohamedBassem731ed3ad342d
diff --git a/apps/browser-extension/src/NotConfiguredPage.tsx b/apps/browser-extension/src/NotConfiguredPage.tsx
index fc5c8f47..cad87303 100644
--- a/apps/browser-extension/src/NotConfiguredPage.tsx
+++ b/apps/browser-extension/src/NotConfiguredPage.tsx
@@ -19,7 +19,7 @@ export default function NotConfiguredPage() {
setError("Server address is required");
return;
}
- setSettings((s) => ({ ...s, address: serverAddress }));
+ setSettings((s) => ({ ...s, address: serverAddress.replace(/\/$/, "") }));
navigate("/signin");
};