Skip to content

Commit d1816e7

Browse files
committed
feat(auth): fix auth base url injection
1 parent f3b4fd5 commit d1816e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ export default defineNuxtModule<ModuleOptions>({
431431
}
432432
if (dbCredentials) {
433433
const { host, port, database } = JSON.parse(dbCredentials.stdout)
434-
process.env.NUXT_EDGEDB_AUTH_BASE_URL = `http://${host}:${port}/${database}/ext/auth/`
434+
process.env.NUXT_EDGEDB_AUTH_BASE_URL = `http://${host}:${port}/db/${database}/ext/auth/`
435435
}
436436
}
437437

0 commit comments

Comments
 (0)