3 ms·
Interesting project and great docs! Can you point out the code responsible for executing the http connection? If it at all modularized, I'd like to plugin cod
by TedDoesntTalk 6y ago
Interesting project and great docs!
Can you point out the code responsible for executing the http connection? If it at all modularized, I'd like to plugin code for a different kind of check.
(Are you thinking of supporting customized checks through plugins?)
- anandchowdhary 6y agoThis is where the `curl` happens: https://github.com/upptime/uptime-monitor/blob/master/src/helpers/request.ts https://github.com/upptime/uptime-monitor/blob/master/src/he... It is utilized by this function here: https://github.com/upptime/uptime-monitor/blob/master/src/update.ts#L52 https://github.com/upptime/uptime-monitor/blob/master/src/up... If you're thinking about different checks, perhaps you can explore this too? I have no idea where to start... https://github.com/upptime/upptime/discussions/73 https://github.com/upptime/upptime/discussions/73