We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1965479 commit 00aa6b6Copy full SHA for 00aa6b6
server/utils/hooks.ts
@@ -8,7 +8,7 @@ export interface HubHooks {
8
export const hubHooks = createHooks<HubHooks>()
9
10
export function onHubReady (cb: HubHooks['bindings:ready']) {
11
- if (import.meta.dev) {
+ if (import.meta.dev && !process.env.NUXT_HUB_URL) {
12
return hubHooks.hookOnce('bindings:ready', cb)
13
}
14
cb()
0 commit comments