fix: add env vars to control cache type for home server

This commit is contained in:
Karol Sójko
2023-05-04 12:11:19 +02:00
parent d56bbacc0b
commit c8ea2ab199
5 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ export class ContainerConfigLoader {
const container = new Container()
const isConfiguredForHomeServer = env.get('DB_TYPE') === 'sqlite'
const isConfiguredForHomeServer = env.get('CACHE_TYPE') === 'memory'
const logger = this.createLogger({ env })
container.bind<winston.Logger>(TYPES.Logger).toConstantValue(logger)