Skip to content

Commit

Permalink
chore: log when using a different console url
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Mar 20, 2024
1 parent b3ac920 commit 14e65c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/module/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ export default defineNuxtModule<ModuleOptions>({
log.error('Invalid remote option, should be `false`, `true`, `\'production\'` or `\'preview\'`')
delete hub.remote
}
// Log when using a different Hub url
if (hub.url !== 'https://console.hub.nuxt.com') {
log.info(`Using \`${hub.url}\` as NuxtHub Console URL`)
}

// Add Server caching (Nitro)
nuxt.options.nitro = defu(nuxt.options.nitro, {
Expand Down

0 comments on commit 14e65c6

Please sign in to comment.