Skip to content

Commit

Permalink
chore: update logger message
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Oct 2, 2023
1 parent 46c8d64 commit 91d5640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default defineNuxtModule<ModuleOptions>({
Object.keys(options.endpoints!).length === 0
&& !nuxt.options.runtimeConfig.apiParty
)
logger.error('Missing any API endpoint configuration. Please set `apiParty` module options in `nuxt.config.ts`.')
logger.error('Missing any API endpoint configuration. Please the `apiParty` module configuration in `nuxt.config.ts`.')

// Private runtime config
nuxt.options.runtimeConfig.apiParty = defu(
Expand All @@ -102,7 +102,7 @@ export default defineNuxtModule<ModuleOptions>({
)

if (!nuxt.options.ssr) {
logger.info('SSR is disabled, enabling Nuxt API Party client requests by default.')
logger.info('Enabling Nuxt API Party client requests by default, because `ssr: false` is set.')
options.client = 'always'
}

Expand Down

0 comments on commit 91d5640

Please sign in to comment.