This commit is contained in:
einhornimmond 2025-05-19 14:44:41 +02:00
parent ee831cc65c
commit b23183197b

View File

@ -39,7 +39,7 @@ export class Connection {
logging: true,
logger: new FileLogger('all', {
// workaround to let previous path working, because with esbuild the script root path has changed
logPath: CONFIG.PRODUCTION ? '../' : '' + CONFIG.TYPEORM_LOGGING_RELATIVE_PATH,
logPath: (CONFIG.PRODUCTION ? '../' : '') + CONFIG.TYPEORM_LOGGING_RELATIVE_PATH,
}),
extra: {
charset: 'utf8mb4_unicode_ci',