Skip to content

Commit

Permalink
feat(auth): fix auth base url injection
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Nov 22, 2023
1 parent f3b4fd5 commit d1816e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ export default defineNuxtModule<ModuleOptions>({
}
if (dbCredentials) {
const { host, port, database } = JSON.parse(dbCredentials.stdout)
process.env.NUXT_EDGEDB_AUTH_BASE_URL = `http://${host}:${port}/${database}/ext/auth/`
process.env.NUXT_EDGEDB_AUTH_BASE_URL = `http://${host}:${port}/db/${database}/ext/auth/`
}
}

Expand Down

0 comments on commit d1816e7

Please sign in to comment.