github.com
yourfriendoss
Monolith
src/routes/heartbeat.ts
main
https://raw.githubusercontent.com/yourfriendoss/Monolith/main/src/routes/heartbeat.ts
Copyimport * as monolith from "https://raw.githubusercontent.com/yourfriendoss/Monolith/main/src/routes/heartbeat.ts";
import * as monolith from "https://raw.githubusercontent.com/yourfriendoss/Monolith/main/src/routes/heartbeat.ts";
Parse a heartbeat. Also creates a server incase it doesn't exist. Can be either POST or GET. Parses both.
Get all servers in a format used by the Classicube client. Has to be a GET request.