mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 10:58:12 +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) {
|
app.get("/:v*?", async function (req, res) {
|
||||||
const uaos = req.useragent.os;
|
const uaos = req.useragent.os;
|
||||||
const browser = req.useragent.browser;
|
const browser = req.useragent.browser;
|
||||||
const isOldWindows =
|
const isOldWindows = (uaos === "Windows 7" || uaos === "Windows 8") && browser === "Firefox";
|
||||||
(uaos === "Windows 7" || uaos === "Windows 8") && browser === "Firefox";
|
|
||||||
|
|
||||||
const rendermainpage = () => {
|
const rendermainpage = () => {
|
||||||
if (req.useragent.isMobile) {
|
if (req.useragent.isMobile) {
|
||||||
|
|
Loading…
Reference in a new issue