Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix

Smaug67397fe7a928431e
diff --git a/backend/app.ts b/backend/app.ts
index d31d6b2a..066acbf6 100644
--- a/backend/app.ts
+++ b/backend/app.ts
@@ -22,7 +22,7 @@ export class App {
this.app = express();
this.port = process.env.PORT || '3000';
this.snowflake = new Snowflake(1661327668261);
- this.db = db('localhost', process.env.DATABASE_USER, process.env.DATABASE_PASSWORD, 'alexandrie');
+ this.db = db('127.0.0.1', process.env.DATABASE_USER, process.env.DATABASE_PASSWORD, 'alexandrie');
this.uploads_dir = join(__dirname, '../../uploads');
}
private async handleRoutes() {