]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/themes.ts
Process remaining segment hashes on live ending
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / themes.ts
index 24a9673f788d5c08194a3cecf81e518b5d77626a..82794656d5553265740c145c111c2899e6d948e5 100644 (file)
@@ -16,7 +16,7 @@ const serveThemeCSSValidator = [
 
     if (areValidationErrors(req, res)) return
 
-    const theme = PluginManager.Instance.getRegisteredTheme(req.params.themeName)
+    const theme = PluginManager.Instance.getRegisteredThemeByShortName(req.params.themeName)
 
     if (!theme || theme.version !== req.params.themeVersion) {
       return res.sendStatus(404)