Add Vercel project with health check ping
- Serverless function Python em /api/ping - Frontend com botão para disparar o ping - URL: https://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e
This commit is contained in:
parent
b32ef2082c
commit
9bf4d921a6
2 changed files with 2 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ import socket
|
||||||
import urllib.request
|
import urllib.request
|
||||||
from http.server import BaseHTTPRequestHandler
|
from http.server import BaseHTTPRequestHandler
|
||||||
|
|
||||||
PING_URL = "https://hc-ping.com/4f9a5abf-38d6-4f34-a698-9e97c3a62632"
|
PING_URL = "https://hc-ping.com/a4b80e88-d7ab-4edc-ad3e-9cd57036075e"
|
||||||
|
|
||||||
|
|
||||||
def do_ping():
|
def do_ping():
|
||||||
|
|
|
||||||
|
|
@ -38,3 +38,4 @@
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue