We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 408609b commit f9c0d96Copy full SHA for f9c0d96
packages/uplim-kun-monitoring/src/main.ts
@@ -1,19 +1,6 @@
1
-import { withTimeout } from "utils";
2
-
3
-declare const global: Record<string, () => void>;
4
global.main = main;
5
6
function main() {
7
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
- }
+ UrlFetchApp.fetch(url).getResponseCode();
19
}
0 commit comments