We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b148335 commit 48a8c2eCopy full SHA for 48a8c2e
app/services/webapp/index.ts
@@ -8,6 +8,8 @@ import { logger } from "@/utils.js";
8
9
const log = logger("WebApp");
10
11
+const PATH_IGNORE = ["/server-status","/discord/guild/emojis", "/gmod/errors"];
12
+
13
export class WebApp extends Service {
14
name = "WebApp";
15
config = config;
@@ -22,7 +24,7 @@ export class WebApp extends Service {
22
24
logger: log,
23
25
base: undefined,
26
level: process.env.LOG_LEVEL || "info",
- autoLogging: { ignore: req => req.url.startsWith("/server-status") },
27
+ autoLogging: { ignore: req => PATH_IGNORE.includes(req.path)},
28
})
29
);
30
0 commit comments