Project created from basic template
This commit is contained in:
11
src/server/index.ts
Normal file
11
src/server/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Hono } from "hono";
|
||||
|
||||
import { rpcApp } from "./routes/rpc";
|
||||
import { clientEntry } from "./routes/client-entry";
|
||||
|
||||
const app = new Hono();
|
||||
|
||||
app.route("/rpc", rpcApp);
|
||||
app.get("/*", clientEntry);
|
||||
|
||||
export default app;
|
Reference in New Issue
Block a user