diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/middlewares/validators/oembed.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/oembed.ts b/server/middlewares/validators/oembed.ts index 96c8adc99..cbd645a71 100644 --- a/server/middlewares/validators/oembed.ts +++ b/server/middlewares/validators/oembed.ts | |||
@@ -28,7 +28,7 @@ function buildUrls (paths: string[]) { | |||
28 | const startPlaylistURLs = buildUrls(playlistPaths) | 28 | const startPlaylistURLs = buildUrls(playlistPaths) |
29 | const startVideoURLs = buildUrls(videoPaths) | 29 | const startVideoURLs = buildUrls(videoPaths) |
30 | 30 | ||
31 | const watchRegex = /([^/]+)$/ | 31 | const watchRegex = /\/([^/]+)$/ |
32 | const isURLOptions = { | 32 | const isURLOptions = { |
33 | require_host: true, | 33 | require_host: true, |
34 | require_tld: true | 34 | require_tld: true |