mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-01 16:51:13 +00:00
Change name to LEMMY_UI_CUSTOM_HTML_HEADER
This commit is contained in:
parent
8c092b984c
commit
eea2e4c8eb
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ if (process.env.NODE_ENV !== "development") {
|
|||
next();
|
||||
});
|
||||
}
|
||||
const customHtml = process.env["LEMMY_UI_CUSTOM_HTML"] || "";
|
||||
const customHtmlHeader = process.env["LEMMY_UI_CUSTOM_HTML_HEADER"] || "";
|
||||
|
||||
server.use(express.json());
|
||||
server.use(express.urlencoded({ extended: false }));
|
||||
|
@ -201,7 +201,7 @@ server.get("/*", async (req, res) => {
|
|||
${erudaStr}
|
||||
|
||||
<!-- Custom injected script -->
|
||||
${customHtml}
|
||||
${customHtmlHeader}
|
||||
|
||||
${helmet.title.toString()}
|
||||
${helmet.meta.toString()}
|
||||
|
|
Loading…
Reference in a new issue