export class MyContainer extends Container {
defaultPort = 6443;
requiredPorts = [6443, 443, 80];
// ...
}
app.get("/readyz", async (c) => {
const container = getContainer(c.env.MY_CONTAINER);
return await container.fetch(c.req.raw);
});
// ...
export class MyContainer extends Container {
defaultPort = 6443;
requiredPorts = [6443, 443, 80];
// ...
}
app.get("/readyz", async (c) => {
const container = getContainer(c.env.MY_CONTAINER);
return await container.fetch(c.req.raw);
});
// ...