From 18db27b418a421309c6beef9befd460647b0a05e Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sat, 8 May 2021 08:38:12 +0200 Subject: [PATCH] Fixing temp folder saving issue #289 --- src/backend/middlewares/admin/SettingsMWs.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/middlewares/admin/SettingsMWs.ts b/src/backend/middlewares/admin/SettingsMWs.ts index 2364e08e..f25578fe 100644 --- a/src/backend/middlewares/admin/SettingsMWs.ts +++ b/src/backend/middlewares/admin/SettingsMWs.ts @@ -362,6 +362,7 @@ export class SettingsMWs { Config.Server.port = settings.port; Config.Server.host = settings.host; Config.Server.Media.folder = settings.imagesFolder; + Config.Server.Media.tempFolder = settings.tempFolder; Config.Client.publicUrl = settings.publicUrl; Config.Client.urlBase = settings.urlBase; Config.Client.applicationTitle = settings.applicationTitle; @@ -370,6 +371,7 @@ export class SettingsMWs { original.Server.port = settings.port; original.Server.host = settings.host; original.Server.Media.folder = settings.imagesFolder; + original.Server.Media.folder = settings.tempFolder; original.Client.publicUrl = settings.publicUrl; original.Client.urlBase = settings.urlBase; original.Client.applicationTitle = settings.applicationTitle;