-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cass Fridkin
committed
Mar 21, 2022
1 parent
3c3003f
commit c2aca9d
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
Error if the user is trying to implement DO's in a service worker | ||
|
||
Durable Objects can only be implemented in Module Workers, so we should throw if we detect that | ||
the user is trying to implement a Durable Object but their worker is in Service Worker format. |