refactor(server): better selfhost deployment (#9036)

This commit is contained in:
forehalo
2024-12-06 01:37:26 +00:00
parent f96f08dcec
commit 0a1fa8911f
24 changed files with 226 additions and 167 deletions
@@ -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,