From 666c491acd9f6a81c40ab40dd14e01c3ac1717ae Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 30 Sep 2024 02:18:48 +0000 Subject: [PATCH] lint fix --- server/src/index.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/server/src/index.ts b/server/src/index.ts index 9e914cd..f46b534 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -1,18 +1,18 @@ -import { Hono } from "hono"; -import { cors } from "hono/cors"; -import v1App from "./router/v1/v1.router"; +import { Hono } from 'hono'; +import { cors } from 'hono/cors'; +import v1App from './router/v1/v1.router'; const app = new Hono(); -app.use("/*", cors()); -app.get("/", (c) => +app.use('/*', cors()); +app.get('/', (c) => c.json({ - status: "ok", - }) + status: 'ok', + }), ); // V1 API -app.route("/v1", v1App); +app.route('/v1', v1App); export default { port: process.env.PORT || 5001,