リファクタ

This commit is contained in:
rca 2024-06-16 21:46:19 +09:00
parent a6ef910e56
commit 2f125fdec5

View File

@ -1,11 +1,10 @@
import express from "express";
import Logger from "@src/logger";
import debugRouter from "@src/routers/debugRouter";
import prisma from "@src/prisma";
import os from "os";
import { getCommitHash } from "@utils/gitCommitHash";
import authRouter from "@src/routers/authRouter";
import { Response } from 'express';
const app = express();
const port = 3000;
@ -44,7 +43,7 @@ console.log("\n");
logger.info("Starting server...");
app.get("/", (req, res) => {
app.get("/", (res: Response) => {
res.status(200).sendFile("index.html", { root: "static" });
});