import { Hono } from "hono"; import { rpcApp } from "./routes/rpc"; import { clientEntry } from "./routes/client-entry"; const app = new Hono(); // Allow all hosts for Tailscale Funnel app.use("*", async (c, next) => { // Accept requests from any host return next(); }); app.route("/rpc", rpcApp); app.get("/*", clientEntry); export default app;