Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

⚑ Adds timeout to status check

Alicia Sykes92aa1ba00bd4
diff --git a/services/status-check.js b/services/status-check.js
index c218cf39..5382cc74 100644
--- a/services/status-check.js
+++ b/services/status-check.js
@@ -37,6 +37,7 @@ const makeRequest = (url, options, render) => {
url,
headers,
maxRedirects,
+ timeout: 10000,
httpsAgent: { rejectUnauthorized: !enableInsecure },
})
.then((response) => {