Skip to content

Commit

Permalink
fix: Fix allow links with trailing slashes in extension configuration.
Browse files Browse the repository at this point in the history
…Fixes #18
  • Loading branch information
MohamedBassem committed Mar 27, 2024
1 parent 0208e5d commit 731ed3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/browser-extension/src/NotConfiguredPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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");
};

Expand Down

0 comments on commit 731ed3a

Please sign in to comment.