test something
This commit is contained in:
parent
2f0ae48bd9
commit
c70d065e3b
@ -259,16 +259,17 @@ 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.skiplandingpage) {
|
||||
return res.redirect("/app");
|
||||
}
|
||||
|
||||
return renderTemplate(res, req, "landing.ejs", {
|
||||
secure,
|
||||
embedtype: req.query.embedtype,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user