mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
style: 🚨 Run Biome
This commit is contained in:
parent
bcbc9e6bf1
commit
5554038f44
2
app.ts
2
app.ts
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { handleZodError } from "@/api";
|
||||||
import { sentry } from "@/sentry";
|
import { sentry } from "@/sentry";
|
||||||
import { cors } from "@hono/hono/cors";
|
import { cors } from "@hono/hono/cors";
|
||||||
import { prettyJSON } from "@hono/hono/pretty-json";
|
import { prettyJSON } from "@hono/hono/pretty-json";
|
||||||
|
|
@ -15,7 +16,6 @@ import { ipBans } from "./middlewares/ip-bans";
|
||||||
import { logger } from "./middlewares/logger";
|
import { logger } from "./middlewares/logger";
|
||||||
import { routes } from "./routes";
|
import { routes } from "./routes";
|
||||||
import type { ApiRouteExports, HonoEnv } from "./types/api";
|
import type { ApiRouteExports, HonoEnv } from "./types/api";
|
||||||
import { handleZodError } from "@/api";
|
|
||||||
|
|
||||||
export const appFactory = async () => {
|
export const appFactory = async () => {
|
||||||
const serverLogger = getLogger("server");
|
const serverLogger = getLogger("server");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue