Add hyphen to BUNKER_REGEX

This commit is contained in:
Daniele Tonon 2024-04-19 23:20:24 +02:00 committed by fiatjaf_
parent 1e9f828e3e
commit c12ddd3c53
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export function useFetchImplementation(fetchImplementation: any) {
_fetch = fetchImplementation
}
export const BUNKER_REGEX = /^bunker:\/\/([0-9a-f]{64})\??([?\/\w:.=&%]*)$/
export const BUNKER_REGEX = /^bunker:\/\/([0-9a-f]{64})\??([?\/\w:.=&%-]*)$/
const EMAIL_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]+$/
export type BunkerPointer = {