This commit is contained in:
@@ -12,6 +12,11 @@ const backendOrigin = process.env.BACKEND_ORIGIN ?? "http://localhost:3000";
|
||||
|
||||
const app = express();
|
||||
|
||||
// Liveness only, so it must not touch the backend: the container healthcheck
|
||||
// reads this, and an unhealthy container is dropped by Traefik's Docker
|
||||
// provider - which would take the router, and with it the certificate, down.
|
||||
app.get("/healthz", (req, res) => res.status(200).type("text/plain").end("ok"));
|
||||
|
||||
/** @type {import("vite").ViteDevServer | undefined} */
|
||||
let vite;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user