Some checks failed
Deploy to Staging / build-and-deploy (push) Failing after 9m44s
- Extract complete codebase from running staging pod - Add Dockerfile with multi-stage build for Node.js + Puppeteer - Configure CI/CD workflows for staging and production deployment - Include all source files, configs, and public assets
9 lines
323 B
TypeScript
9 lines
323 B
TypeScript
import { Router } from "express";
|
|
import path from "path";
|
|
import { fileURLToPath } from "url";
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
const router = Router();
|
|
router.get("/", (_req, res) => {
|
|
res.sendFile(path.join(__dirname, "../../public/status.html"));
|
|
});
|
|
export { router as statusRouter };
|