Skip to content
Myr

fix(etag): change where to check for `crypto` (#3916)

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

* fix(etag): remove parts that may cause unintended behavior * 2 * fix * refactor * chore: lint

authored by EdamAmex · committed by GitHub · parent 9892b47 · Browse files · 2 files+23 added−10 removed
This commit

State

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

Trailers

  • Co-authored-by: Taku Amano <taku@taaas.jp>

Diff stats

2 files+23 added−10 removed

  • other:+23 added−10 removed

2 files+23 added−10 removed

modified:src/middleware/etag/digest.ts+1 added-1 removed
modified:src/middleware/etag/index.ts+22 added-9 removed