docs: fix addServerScanDir example

This commit is contained in:
Daniel Roe 2023-12-14 17:24:17 +00:00
parent c5ff169c3a
commit 7cd02e2909
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -428,7 +428,7 @@ export default defineNuxtModule({
},
setup(options) {
const resolver = createResolver(import.meta.url)
addServerScanDir(resolver.resolve('./runtime/server/routes'))
addServerScanDir(resolver.resolve('./runtime/server'))
}
})
```