Skip to content

Commit f9c0d96

Browse files
committed
monitoring: fox
1 parent 408609b commit f9c0d96

File tree

1 file changed

+1
-14
lines changed
  • packages/uplim-kun-monitoring/src

1 file changed

+1
-14
lines changed
+1-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
1-
import { withTimeout } from "utils";
2-
3-
declare const global: Record<string, () => void>;
41
global.main = main;
52

63
function main() {
74
const url = "https://uplim-kun.onrender.com";
8-
try {
9-
withTimeout(
10-
new Promise((resolve) => {
11-
UrlFetchApp.fetch(url).getResponseCode();
12-
resolve("");
13-
}),
14-
1000,
15-
);
16-
} catch {
17-
// 何もしない
18-
}
5+
UrlFetchApp.fetch(url).getResponseCode();
196
}

0 commit comments

Comments
 (0)