// src/index.ts import express from "express"; import type { Express } from "express"; import router from "./src/apiRouter"; const app: Express = express(); app.use("/api", router); export const helloHttp = app; // export const helloHttp = (req: Request, res: Response): void => { // // console.log("Function invoked:", new Date().toISOString()); // console.log("path:", req.path, "method:", req.method); // const name = (req.query.name as string) ?? "World"; // res.status(200).send(`Hello, ${name} from TypeScript Cloud Functions!`); // };