fix: Added dashes back into video player breadcrumbs. #11

Merged
daball merged 1 commits from daball/nm3clol-express-app:main into main 2024-06-18 11:50:37 -04:00

View File

@ -179,7 +179,7 @@ export default function () {
breadcrumbs.push({ title: config.siteName, url: '/' }); breadcrumbs.push({ title: config.siteName, url: '/' });
} }
else { 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 }; const renderData = { breadcrumbs, route, filePath, fullFilePath, req, paths, directory: path.join('public', directory), videoURL, subtitleURL, subtitleVTT, info };