-
Notifications
You must be signed in to change notification settings - Fork 803
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: toggle
workers.dev
subdomains only when required (#836)
- Loading branch information
1 parent
9c025c4
commit 28e3b17
Showing
3 changed files
with
66 additions
and
11 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,13 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
fix: toggle `workers.dev` subdomains only when required | ||
|
||
This fix - | ||
|
||
- passes the correct query param to check whether a workers.dev subdomain has already been published/enabled | ||
- thus enabling it only when it's not been enabled | ||
- it also disables it only when it's explicitly knows it's already been enabled | ||
|
||
The effect of this is that publishes are much faster. |
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
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