We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9173bbe commit 90b0a86Copy full SHA for 90b0a86
packages/adapter-cloudflare/index.js
@@ -145,7 +145,8 @@ export default function (options = {}) {
145
}
146
},
147
emulate() {
148
- // we want to invoke `getPlatformProxy` only once and await it only when it is accessed
+ // we want to invoke `getPlatformProxy` only once, but await it only when it is accessed.
149
+ // If we would await it here, it would hang indefinitely because the platform proxy only resolves once a request happens
150
const getting_platform = (async () => {
151
const proxy = await getPlatformProxy(options.platformProxy);
152
const platform = /** @type {App.Platform} */ ({
0 commit comments