no encode for first slash

This commit is contained in:
Jonathan Baecker 2020-07-07 15:39:29 +02:00
parent 012cc58d21
commit acc7297658
2 changed files with 2 additions and 2 deletions

View File

@ -442,7 +442,7 @@ export default {
sources: [
{
type: `video/${ext}`,
src: encodeURIComponent(src)
src: '/' + encodeURIComponent(src.replace(/^\//, ''))
}
]
}

View File

@ -415,7 +415,7 @@ export default {
sources: [
{
type: `video/${ext}`,
src: encodeURIComponent(src)
src: '/' + encodeURIComponent(src.replace(/^\//, ''))
}
]
}