Commit 02f65e5 1 parent a194392 commit 02f65e5 Copy full SHA for 02f65e5
File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,9 @@ export default defineNuxtModule<ModuleOptions>({
163
163
164
164
// Within CF Pages CI/CD to notice NuxtHub about the build and hub config
165
165
if ( ! nuxt . options . dev && process . env . CF_PAGES && process . env . NUXT_HUB_PROJECT_DEPLOY_TOKEN && process . env . NUXT_HUB_PROJECT_KEY && process . env . NUXT_HUB_ENV ) {
166
+ // Disable remote option (if set also for prod)
167
+ hub . remote = false
168
+ // Wait for modules to be done to send config to NuxtHub
166
169
nuxt . hook ( 'modules:done' , async ( ) => {
167
170
const { bindingsChanged } = await $fetch < { bindingsChanged : boolean } > ( `/api/projects/${ process . env . NUXT_HUB_PROJECT_KEY } /build/${ process . env . NUXT_HUB_ENV } /before` , {
168
171
baseURL : hub . url ,
You can’t perform that action at this time.
0 commit comments