* Add LEMMY_UI_CUSTOM_SCRIPT env var. Fixes #655
* Change name to LEMMY_UI_CUSTOM_HTML
* Change name to LEMMY_UI_CUSTOM_HTML_HEADER
next();
});
}
+const customHtmlHeader = process.env["LEMMY_UI_CUSTOM_HTML_HEADER"] || "";
+
server.use(express.json());
server.use(express.urlencoded({ extended: false }));
server.use("/static", express.static(path.resolve("./dist")));
<!-- A remote debugging utility for mobile -->
${erudaStr}
+ <!-- Custom injected script -->
+ ${customHtmlHeader}
+
${helmet.title.toString()}
${helmet.meta.toString()}