mirror of
https://github.com/r-ca/kidshift-be.git
synced 2024-10-26 00:24:02 +00:00
workaround
This commit is contained in:
parent
3ba5d14c1d
commit
5328b61598
|
@ -4,7 +4,7 @@ import debugRouter from "@src/routers/debugRouter";
|
|||
import os from "os";
|
||||
import { getCommitHash } from "@utils/gitCommitHash";
|
||||
import authRouter from "@src/routers/authRouter";
|
||||
import { Response } from 'express';
|
||||
import { Response, Request } from 'express';
|
||||
|
||||
const app = express();
|
||||
const port = 3000;
|
||||
|
@ -43,7 +43,7 @@ console.log("\n");
|
|||
|
||||
logger.info("Starting server...");
|
||||
|
||||
app.get("/", (res: Response) => {
|
||||
app.get("/", (req: Request, res: Response) => {
|
||||
res.status(200).sendFile("index.html", { root: "static" });
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user