forked from MapComplete/MapComplete
Fix #1762, add a link to see the mastodon account directly on your home server if the contributor has a mastodon set
This commit is contained in:
parent
acc71a34b6
commit
64372aa664
3 changed files with 30 additions and 4 deletions
|
@ -3,7 +3,7 @@ import { Translation } from "../../i18n/Translation"
|
|||
import Translations from "../../i18n/Translations"
|
||||
|
||||
export default class FediverseValidator extends Validator {
|
||||
public static readonly usernameAtServer: RegExp = /^@?(\w+)@((\w|\.)+)$/
|
||||
public static readonly usernameAtServer: RegExp = /^@?(\w+)@((\w|-|\.)+)$/
|
||||
|
||||
constructor() {
|
||||
super(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue