Skip to content

Commit

Permalink
fix(mobile): trim slash from url on signin. Fixes #311 (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mxrk authored Aug 24, 2024
1 parent 0584ad2 commit 6fba4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/mobile/app/signin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default function Signin() {
keyboardType="url"
onChangeText={(e) => {
setServerAddress(e);
setSettings({ ...settings, address: e });
setSettings({ ...settings, address: e.replace(/\/$/, "") });
}}
/>
</View>
Expand Down

0 comments on commit 6fba4aa

Please sign in to comment.