Skip to content

Commit

Permalink
fix(backend): tdlib db location for Docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
dr460nf1r3 committed Jun 26, 2024
1 parent 483df80 commit a52e99e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ npm-debug.log
yarn-error.log
testem.log
/typings
tdlib

# System Files
.DS_Store
Expand Down
4 changes: 2 additions & 2 deletions backend/src/telegram/telegram.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export class TelegramService {
apiId: parseInt(TELEGRAM_API_ID),
apiHash: TELEGRAM_API_HASH,
databaseEncryptionKey: TELEGRAM_DB_ENCRYPTION_KEY,
databaseDirectory: "./backend/tdlib/db",
filesDirectory: "./backend/tdlib/files"
databaseDirectory: "./tdlib/db",
filesDirectory: "./tdlib/files"
})
Logger.log("Telegram client started!", "TelegramService")
} else {
Expand Down

0 comments on commit a52e99e

Please sign in to comment.