swadhinbiswas Fix: Cloudflare Deploy · 1/22/2026
8751a22
11 lines · 229 Bytes
1
2
3
4
5
6
7
8
9
10
11
export interface Env {
  ASSETS: Fetcher;
}

export default {
  async fetch(request: Request, env: Env): Promise<Response> {
    // Delegate all requests to the static asset handler.
    return env.ASSETS.fetch(request);
  },
};