Skip to content

Commit f999e26

Browse files
committed
use relative dbPath for ssr fetching
1 parent ce43d7e commit f999e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default defineNuxtModule({
9999
})
100100

101101
nuxt.hook('nitro:build:before', async ctx => {
102-
const dbPath = join(ctx.options.output.publicDir, dbFolder, dbName)
102+
const dbPath = join(dbFolder, dbName)
103103
nuxt.options.runtimeConfig.db.dbPath = dbPath
104104
})
105105

0 commit comments

Comments
 (0)