A CLI for publishing standard.site documents to ATProto sequoia.pub
standard site lexicon cli publishing
57
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 501c7bd6dba25dfd3631c8bbec75fdadf9957851 22 lines 391 B view raw
1import { Hono } from "hono"; 2import auth from "./routes/auth"; 3 4type Bindings = { 5 ASSETS: Fetcher; 6 SEQUOIA_SESSIONS: KVNamespace; 7 CLIENT_URL: string; 8}; 9 10const app = new Hono<{ Bindings: Bindings }>(); 11 12app.route("/oauth", auth); 13 14app.get("/api/health", (c) => { 15 return c.json({ status: "ok" }); 16}); 17 18app.all("*", (c) => { 19 return c.env.ASSETS.fetch(c.req.raw); 20}); 21 22export default app;