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 ca8e24f commit c00be5eCopy full SHA for c00be5e
features/statuspage.ts
@@ -5,7 +5,11 @@ import { isDocker } from "../utils/docker";
5
export default (client: Client): void => {
6
// Check if the bot is running in a docker container by checking if the env variable UPTIME_KUMA_CONTAINERIZED is true
7
if (isDocker()) return;
8
- if (!process.env.UPTIME_KUMA_MONITOR_DOMAIN || !process.env.UPTIME_KUMA_MONITOR_ID) return;
+ if (
9
+ !process.env.UPTIME_KUMA_MONITOR_DOMAIN ||
10
+ !process.env.UPTIME_KUMA_MONITOR_ID
11
+ )
12
+ return;
13
const updateStatus = async () => {
14
// This function is called every 1 minutes and pings the network status page for uptime monitoring
15
await axios.get(
0 commit comments