mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
5 lines
194 B
TypeScript
5 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, '')
|
|
}
|