Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 30, 2024
1 parent 1a27d28 commit 666c491
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions server/src/index.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 666c491

Please sign in to comment.