Fix linting

This commit is contained in:
Seth 2025-05-16 00:15:22 -04:00
parent a8d8f7014a
commit e6b8175662
5 changed files with 24 additions and 19 deletions

View file

@ -10,7 +10,7 @@ const build = async () => {
minify: !development,
sourcemap: development ? "inline" : "none",
splitting: true,
publicPath: "/assets/"
publicPath: "/assets/",
});
};
@ -65,10 +65,7 @@ const postAnalytics = async (
"Content-Type": "application/json",
"User-Agent": req.headers.get("user-agent") || "",
"X-Forwarded-For": String(
cfIp ||
realIp ||
forwardedIp?.split(",")[0] ||
serverIp,
cfIp || realIp || forwardedIp?.split(",")[0] || serverIp,
),
},
body: JSON.stringify({