Skip to content

Commit 97ec429

Browse files
committed
chore: add hub empty object to public runtime config
1 parent 17726d8 commit 97ec429

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/module.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export default defineNuxtModule<ModuleOptions>({
7373
}
7474
})
7575
runtimeConfig.hub = hub
76+
runtimeConfig.public.hub = {}
7677
// Make sure to tell Nitro to not generate the wrangler.toml file
7778
// @ts-expect-error nitro.cloudflare.wrangler is not yet typed
7879
delete nuxt.options.nitro.cloudflare?.wrangler?.compatibility_flags

0 commit comments

Comments
 (0)