Bluesky app fork with some witchin' additions 💫 witchsky.app
bluesky fork client

fix regex (#9234)

authored by

hailey and committed by
GitHub
73639aa5 f3b6d859

+1 -1
+1 -1
bskylink/src/cache/safelinkClient.ts
··· 15 15 16 16 const SAFELINK_MIN_FETCH_INTERVAL = 1_000 17 17 const SAFELINK_MAX_FETCH_INTERVAL = 10_000 18 - const SCHEME_REGEX = /^[a-zA-Z][a-zA-Z0-9+.-]*:/ 18 + const SCHEME_REGEX = /^[a-zA-Z][a-zA-Z0-9+.-]*:\/\// 19 19 20 20 export class SafelinkClient { 21 21 private domainCache: LRUCache<string, SafelinkRule | 'ok'>