Skip to content
Myr

refactor: cloudflare workers' serve-static module (#1887)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* refactor: fix the file name * fix: add `onNotFound` option to serve static module * refactor: reduce code * fix: omit namespace from option

authored by Sor4chi · committed by GitHub · parent 4dfcda8 · Browse files · 3 files+18 added−20 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+18 added−20 removed

  • other:+18 added−20 removed

3 files+18 added−20 removed

modified:src/adapter/cloudflare-workers/index.ts+1 added-1 removed
added:src/adapter/cloudflare-workers/serve-static-module.ts+17 added
deleted:src/adapter/cloudflare-workers/server-static-module.ts-19 removed