From 51931f883bdcff0b455b63e37a525b47816a0c88 Mon Sep 17 00:00:00 2001 From: Mohamed Marrouchi Date: Fri, 13 Sep 2024 15:10:27 +0100 Subject: [PATCH] fix: attachment upload --- api/src/config/index.ts | 2 +- frontend/src/app-components/logos/HexabotLogo.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/config/index.ts b/api/src/config/index.ts index fd1337ee..dffd7e06 100644 --- a/api/src/config/index.ts +++ b/api/src/config/index.ts @@ -113,7 +113,7 @@ export const config: Config = { (process.env.UPLOAD_DIR && join(process.cwd(), process.env.UPLOAD_DIR)) ?? join(process.cwd(), 'uploads'), avatarDir: process.env.AVATAR_DIR ?? join(process.cwd(), 'avatars'), - storageMode: 'memory', + storageMode: 'disk', maxUploadSize: process.env.UPLOAD_MAX_SIZE_IN_BYTES ? Number(process.env.UPLOAD_MAX_SIZE_IN_BYTES) : 2000000, diff --git a/frontend/src/app-components/logos/HexabotLogo.tsx b/frontend/src/app-components/logos/HexabotLogo.tsx index 785e3e8d..55c495a9 100644 --- a/frontend/src/app-components/logos/HexabotLogo.tsx +++ b/frontend/src/app-components/logos/HexabotLogo.tsx @@ -25,7 +25,7 @@ export const HexabotLogo = () => { xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" height="32" - width="auto" + width="118.34" viewBox="0 0 163.07948 44.092343" >