sales_tool/functions/generate_minutes/index.ts
2025-11-25 14:54:01 +09:00

16 lines
551 B
TypeScript

// 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!`);
// };