From 2f6afa92105039c2d167d7c81627979ceb74f35c Mon Sep 17 00:00:00 2001 From: David Ball Date: Tue, 18 Jun 2024 11:50:07 -0400 Subject: [PATCH] fix: Added dashes back into video player breadcrumbs. --- app/page/router.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/page/router.mts b/app/page/router.mts index 992dde71..65dfb26c 100644 --- a/app/page/router.mts +++ b/app/page/router.mts @@ -179,7 +179,7 @@ export default function () { breadcrumbs.push({ title: config.siteName, url: '/' }); } else { - breadcrumbs.push({ title: helpers.getDirectoryName(path.name).replaceAll('_', ' ').replaceAll('-', ' '), url: `/${path.url}` }); + breadcrumbs.push({ title: helpers.getDirectoryName(path.name).replaceAll('_', ' '), url: `/${path.url}` }); } }); const renderData = { breadcrumbs, route, filePath, fullFilePath, req, paths, directory: path.join('public', directory), videoURL, subtitleURL, subtitleVTT, info };