Skip to content

Commit

Permalink
Fix vidme url regex
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-luther committed Nov 22, 2024
1 parent ff15db9 commit 28991ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/players/Vidme.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FilePlayer from './FilePlayer'

const RESOLVE_URL = 'https://api.vid.me/videoByUrl/'
const MATCH_URL = /^https?:\/\/vid.me\/([a-z0-9]+)$/
const MATCH_URL = /^https?:\/\/vid.me\/([a-z0-9]+)$/i

const cache = {} // Cache song data requests

Expand Down

0 comments on commit 28991ad

Please sign in to comment.