-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make sure that the
initOpenNextCloudflareForDev()
logic runs o…
…nly once Currently calling `initOpenNextCloudflareForDev()` in the Next.js config file causes this initialization logic to run twice, consuming more resources and causing extra noise in the terminal logs, this change makes sure that the initialization logic is run only once instead
- Loading branch information
1 parent
94e5969
commit f0c4f9a
Showing
2 changed files
with
29 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,10 @@ | ||
--- | ||
"@opennextjs/cloudflare": patch | ||
--- | ||
|
||
fix: make sure that the `initOpenNextCloudflareForDev()` logic runs only once | ||
|
||
Currently calling `initOpenNextCloudflareForDev()` in the Next.js config file causes | ||
this initialization logic to run twice, consuming more resources and causing extra | ||
noise in the terminal logs, this change makes sure that the initialization logic | ||
is run only once instead |
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