Skip to content

Commit 14e65c6

Browse files
committed
chore: log when using a different console url
1 parent b3ac920 commit 14e65c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/module/index.ts

+4
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ export default defineNuxtModule<ModuleOptions>({
8585
log.error('Invalid remote option, should be `false`, `true`, `\'production\'` or `\'preview\'`')
8686
delete hub.remote
8787
}
88+
// Log when using a different Hub url
89+
if (hub.url !== 'https://console.hub.nuxt.com') {
90+
log.info(`Using \`${hub.url}\` as NuxtHub Console URL`)
91+
}
8892

8993
// Add Server caching (Nitro)
9094
nuxt.options.nitro = defu(nuxt.options.nitro, {

0 commit comments

Comments
 (0)