mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 04:28:03 +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