mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 01:58:56 +01:00
reformat files lol
This commit is contained in:
parent
103bd94f60
commit
c49248a0a0
1 changed files with 1 additions and 2 deletions
|
@ -65,8 +65,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
app.get("/:v*?", async function (req, res) {
|
||||
const uaos = req.useragent.os;
|
||||
const browser = req.useragent.browser;
|
||||
const isOldWindows =
|
||||
(uaos === "Windows 7" || uaos === "Windows 8") && browser === "Firefox";
|
||||
const isOldWindows = (uaos === "Windows 7" || uaos === "Windows 8") && browser === "Firefox";
|
||||
|
||||
const rendermainpage = () => {
|
||||
if (req.useragent.isMobile) {
|
||||
|
|
Loading…
Reference in a new issue