mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 01:26:37 +08:00
refactor(server): better selfhost deployment (#9036)
This commit is contained in:
@@ -261,7 +261,7 @@ export class ServerServiceConfigResolver {
|
||||
}
|
||||
|
||||
database(): ServerDatabaseConfig {
|
||||
const url = new URL(this.config.database.datasourceUrl);
|
||||
const url = new URL(this.config.prisma.datasourceUrl);
|
||||
|
||||
return {
|
||||
host: url.hostname,
|
||||
|
||||
Reference in New Issue
Block a user