feat: Use CF

This commit is contained in:
Wanjohi
2025-06-06 09:09:11 +03:00
parent a47dc91b22
commit 5fd5608e6e
8 changed files with 129 additions and 212 deletions

View File

@@ -2,7 +2,6 @@ import "zod-openapi/extend";
import { cors } from "hono/cors";
import { GameApi } from "./game";
import { SteamApi } from "./steam";
import { ImageApi } from "./image";
import { auth } from "./utils/auth";
import { FriendApi } from "./friend";
import { logger } from "hono/logger";
@@ -25,10 +24,6 @@ app
return next();
})
.use(auth)
// Private routes
app.
route("/image", ImageApi.route)
const routes = app
.get("/", (c) => c.text("Hello World!"))