mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
6 lines
194 B
TypeScript
6 lines
194 B
TypeScript
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, '')
|
|
}
|