Skip to content

Commit

Permalink
Fix vidme url regex
Browse files Browse the repository at this point in the history
Fixes #158
  • Loading branch information
cookpete committed Feb 21, 2017
1 parent 92b9315 commit 40406f4
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 40406f4

Please sign in to comment.