You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.info(`Connected to NuxtHub project \`${adminUrl}\``)
46
+
hub.projectUrl=project.url
47
+
if(!hub.projectUrl){
48
+
logger.warn(`NuxtHub project \`${project.slug}\` is not deployed yet, make sure to deploy it using \`nuxthub deploy\` or add the deployed URL to the project settings.`)
49
+
}
50
+
}
51
+
}
52
+
16
53
// Production mode
17
54
if(!nuxt.options.dev){
18
55
return
19
56
}
20
57
21
-
if(process.env.NUXT_HUB_PROJECT_URL){
58
+
if(hub.projectUrl){
22
59
// TODO: check on hub.nuxt.com if the project is connected
23
-
logger.info(`Using remote hub from \`${process.env.NUXT_HUB_PROJECT_URL}\``)
60
+
logger.info(`Using remote hub from \`${hub.projectUrl}\``)
0 commit comments