diff --git a/src/server/index.tsx b/src/server/index.tsx index 5dd83031..e9c907f7 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -19,7 +19,7 @@ const [hostname, port] = process.env["LEMMY_UI_HOST"] server.use(express.json()); server.use(express.urlencoded({ extended: false })); -server.use(`/static-${COMMIT_HASH}`, express.static(path.resolve("./dist"))); +server.use(`/static/${COMMIT_HASH}`, express.static(path.resolve("./dist"))); server.use(setCacheControl); if (!process.env["LEMMY_UI_DISABLE_CSP"] && !process.env["LEMMY_UI_DEBUG"]) { diff --git a/src/server/utils/create-ssr-html.tsx b/src/server/utils/create-ssr-html.tsx index d77df26a..0a4ec22f 100644 --- a/src/server/utils/create-ssr-html.tsx +++ b/src/server/utils/create-ssr-html.tsx @@ -88,7 +88,7 @@ export async function createSsrHtml( - + ${helmet.link.toString() || fallbackTheme} @@ -103,7 +103,7 @@ export async function createSsrHtml(