Skip to content
Myr

fix(deno): 404 error on Serve Static Middleware (#863)

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

There will be a 404 error when non-standard characters appear in URL. Add `decodeURI()` to fix it.

authored by Daniel Ding · committed by GitHub · parent a9746b2 · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/deno/serve-static.ts+1 added-1 removed