chore: add dev deploy apply preflight
This commit is contained in:
@@ -46,7 +46,7 @@ export function buildHealthPayload() {
|
||||
async function routeRequest(request, response, options) {
|
||||
const url = new URL(request.url || "/", "http://hwlab-cloud-api.local");
|
||||
|
||||
if (request.method === "GET" && url.pathname === "/health") {
|
||||
if (request.method === "GET" && (url.pathname === "/health" || url.pathname === "/health/live")) {
|
||||
sendJson(response, 200, buildHealthPayload());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user