mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
Espace . to correctly match '.' char
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export const uuidRegex = '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'
|
||||
|
||||
export function removeFragmentedMP4Ext (path: string) {
|
||||
return path.replace(/-fragmented.mp4$/i, '')
|
||||
return path.replace(/-fragmented\.mp4$/i, '')
|
||||
}
|
||||
|
||||
export function removeVTTExt (path: string) {
|
||||
|
||||
Reference in New Issue
Block a user