diff --git a/server.mjs b/server.mjs index 83f2fc5f8c..f4b5635d80 100644 --- a/server.mjs +++ b/server.mjs @@ -101,6 +101,9 @@ app.use( "user-agent", `(${req.hostname}, ${process.env.EMAIL || "hello@wefwef.app"})` ); + + // Fake it to get around Lemmy API connection issue + clientReq.setHeader("origin", `https://${req.params.actor}`); }, }) );