import { cors } from "hono/cors";
import { Context, Hono } from "hono";
// Your bindings
import { Bindings } from "./bindings";
import { cdn } from "@wundergraph/cosmo-cdn";
const app = new Hono<{ Bindings: Bindings }>();
app.use("*", cors());
cdn(app, {
authJwtSecret,
blobStorage, // Your BlobStorage implementation
});
export default app;
@wundergraph/cosmo-cdn
0.6.1 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i @wundergraph/cosmo-cdn
Repository
Weekly Downloads
14
Version
0.6.1
License
Apache-2.0
Unpacked Size
70.2 kB
Total Files
7