diff --git a/src/server/index.tsx b/src/server/index.tsx index 7b837605..b6db4981 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -171,6 +171,14 @@ server.get("/*", async (req, res) => { /> ); + const eruda = ( + <> + + + + ); + const erudaStr = process.env["LEMMY_UI_DEBUG"] ? renderToString(eruda) : ""; + const root = renderToString(wrapper); const symbols = renderToString(SYMBOLS); const cspStr = process.env.LEMMY_EXTERNAL_HOST @@ -187,10 +195,8 @@ server.get("/*", async (req, res) => { - + + ${erudaStr} ${helmet.title.toString()} ${helmet.meta.toString()}