Skip to content

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

fix(mobile): trim slash from url on signin. Fixes #311 (#361)

Mark :)6fba4aac850c
diff --git a/apps/mobile/app/signin.tsx b/apps/mobile/app/signin.tsx
index c524d1e0..cfe32ea1 100644
--- a/apps/mobile/app/signin.tsx
+++ b/apps/mobile/app/signin.tsx
@@ -82,7 +82,7 @@ export default function Signin() {
keyboardType="url"
onChangeText={(e) => {
setServerAddress(e);
- setSettings({ ...settings, address: e });
+ setSettings({ ...settings, address: e.replace(/\/$/, "") });
}}
/>
</View>