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 e227e3a commit cd85a8eCopy full SHA for cd85a8e
1 file changed
packages/plugins/plugin-auth/src/auth-manager.ts
@@ -68,6 +68,7 @@ export class AuthManager {
68
// Base configuration
69
secret: this.config.secret || this.generateSecret(),
70
baseURL: this.config.baseUrl || 'http://localhost:3000',
71
+ basePath: '/', // ← 关键修复!告诉 better-auth 路径已被剥离
72
73
// Database adapter configuration
74
// For now, we configure a basic setup that will be enhanced
0 commit comments