docker fixes

This commit is contained in:
Cogent Apps
2023-03-15 19:47:47 +00:00
parent d1e5a0cda8
commit 84c5066abd
3 changed files with 9 additions and 1 deletions

View File

@@ -95,6 +95,10 @@ export default class ChatServer {
}
async initialize() {
if (!fs.existsSync('./data')) {
fs.mkdirSync('./data');
}
await this.objectStore.initialize();;
await this.database.initialize();;