This commit is contained in:
ashley 2025-09-19 17:43:39 +02:00
parent a5f42f7806
commit 2f0ae48bd9

View File

@ -259,14 +259,15 @@ module.exports = function (app, config, renderTemplate) {
req.hostname
);
if(req.query.skiplandingpage) {
return res.redirect("/app")
}
const rendermainpage = () => {
if (req.useragent.isMobile) {
return res.redirect("/app");
}
if(req.query.skiplanding === "true") {
return res.redirect("/app")
}
return renderTemplate(res, req, "landing.ejs", {
secure,