Skip to content

Commit 00c4f8a

Browse files
authoredDec 5, 2024··
fix: nuxt content check at module setup (#170)
1 parent 16bed48 commit 00c4f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ export default defineNuxtModule<ModuleOptions>({
328328
}
329329

330330
const nitroPreset = resolveNitroPreset(nuxt.options.nitro)
331-
let usingNuxtContent = hasNuxtModule('@nuxt/content') && config.disableNuxtContentIntegration !== false
331+
let usingNuxtContent = hasNuxtModule('@nuxt/content') && config.disableNuxtContentIntegration !== true
332332
if (usingNuxtContent) {
333333
if (await hasNuxtModuleCompatibility('@nuxt/content', '^3')) {
334334
logger.warn('Nuxt Robots does not work with Nuxt Content v3 yet, the integration will be disabled. Learn more at: https://nuxtseo.com/docs/robots/guides/content')

0 commit comments

Comments
 (0)
Please sign in to comment.