aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators/themes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/middlewares/validators/themes.ts')
-rw-r--r--server/middlewares/validators/themes.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/themes.ts b/server/middlewares/validators/themes.ts
index 24a9673f7..82794656d 100644
--- a/server/middlewares/validators/themes.ts
+++ b/server/middlewares/validators/themes.ts
@@ -16,7 +16,7 @@ const serveThemeCSSValidator = [
16 16
17 if (areValidationErrors(req, res)) return 17 if (areValidationErrors(req, res)) return
18 18
19 const theme = PluginManager.Instance.getRegisteredTheme(req.params.themeName) 19 const theme = PluginManager.Instance.getRegisteredThemeByShortName(req.params.themeName)
20 20
21 if (!theme || theme.version !== req.params.themeVersion) { 21 if (!theme || theme.version !== req.params.themeVersion) {
22 return res.sendStatus(404) 22 return res.sendStatus(404)