We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59b2be5 commit 2e24416Copy full SHA for 2e24416
src/module.ts
@@ -234,11 +234,11 @@ export default defineNuxtModule<RuntimeModuleOptions>({
234
nitroConfig.experimental = nitroConfig.experimental || {}
235
nitroConfig.experimental.database = true
236
nitroConfig.experimental.tasks = true
237
-
+
238
// Add tasks directory to scan
239
nitroConfig.scanDirs = nitroConfig.scanDirs || []
240
nitroConfig.scanDirs.push(resolver.resolve('./runtime/server/tasks'))
241
242
// NOTE: We no longer configure the database connection here at build time
243
// because it prevents runtime environment variables from being used.
244
// The database connection is now established at runtime through useDb()
0 commit comments