Skip to content
Myr

fix(service-worker): bind fetch to `globalThis` (#3500)

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

* fix(service-worker): bind fetch to `globalThis` * chore: ignore lint error

authored by 翠 / green · committed by GitHub · parent d5166dd · Browse files · 2 files+40 added−2 removed
This commit

State

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

Diff stats

2 files+40 added−2 removed

  • tests:+38 added−0 removed
  • other:+2 added−2 removed

2 files+40 added−2 removed

modified:src/adapter/service-worker/handler.test.ts+38 added
modified:src/adapter/service-worker/handler.ts+2 added-2 removed