Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/basic/SettingsPage/index.tsx
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ const SettingsPage = (): JSX.Element => {
const [newUrl, setNewUrl] = useState<string>('');
const [error, setError] = useState<string>();
// Regular expression to match a valid .onion URL
const onionUrlPattern = /^(http:\/\/|https:\/\/)?[a-zA-Z2-7]{16,56}\.onion$/;
const onionUrlPattern = /^(http:\/\/|https:\/\/)[a-zA-Z2-7]{16,56}\.onion$/;

const addCoordinator = () => {
if (federation.coordinators[newAlias]) {

0 comments on commit 17a077b

Please sign in to comment.