From 14e65c620ff15cb9f0a6ae5609502375e2538c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Wed, 20 Mar 2024 10:26:09 +0100 Subject: [PATCH] chore: log when using a different console url --- src/module/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/module/index.ts b/src/module/index.ts index 771b0a91..3a37c065 100644 --- a/src/module/index.ts +++ b/src/module/index.ts @@ -85,6 +85,10 @@ export default defineNuxtModule({ 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, {