jayrizon
8715274c9a
adds ports to check environment variable.
...
Checks if the env PORTS_TO_CHECK is set, if so the string is split via "," to get an array of ports to check.
If the env is not set, return the default commonly used ports.
2025-08-01 08:27:15 +02:00
Alicia Sykes
43fb27eade
Merge branch 'master' of github.com:lissy93/web-check into FEAT/astroify
2024-06-16 21:18:41 +01:00
Denis Simonov
b55a1cc1b3
Sort openPorts and failedPorts before returning
2024-05-28 02:59:30 +03:00
Alicia Sykes
c9e57400fd
Convert all API endpoints into ESM modules
2024-05-06 21:51:32 +01:00
Alicia Sykes
8a7b024e99
Return plain JSON, to be handled by middleware instead
2023-09-03 16:58:46 +01:00
Alicia Sykes
1a95a42853
Updates all API functions, to work on both Vercel & Netlify
2023-09-03 12:27:04 +01:00
Alicia Sykes
9e426ed55e
Rename endpoints to be the same as job IDs
2023-08-10 19:30:21 +01:00