Skip to content

Commit

Permalink
chore: add hub empty object to public runtime config
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Oct 7, 2024
1 parent 17726d8 commit 97ec429
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default defineNuxtModule<ModuleOptions>({
}
})
runtimeConfig.hub = hub
runtimeConfig.public.hub = {}
// Make sure to tell Nitro to not generate the wrangler.toml file
// @ts-expect-error nitro.cloudflare.wrangler is not yet typed
delete nuxt.options.nitro.cloudflare?.wrangler?.compatibility_flags
Expand Down

0 comments on commit 97ec429

Please sign in to comment.