From 935f0e35ecc23e4da5e4a004b0e1576b6b3ef5ae Mon Sep 17 00:00:00 2001 From: Braun Patrik Date: Sat, 15 Jul 2017 17:44:33 +0200 Subject: [PATCH] folder settings bugfix --- backend/middlewares/AdminMWs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/middlewares/AdminMWs.ts b/backend/middlewares/AdminMWs.ts index 1cadb8d0..01dcd92e 100644 --- a/backend/middlewares/AdminMWs.ts +++ b/backend/middlewares/AdminMWs.ts @@ -185,7 +185,7 @@ export class AdminMWs { try { const settings: BasicConfigDTO = req.body.settings; - await ConfigDiagnostics.testThumbnailFolder(settings.imagesFolder); + await ConfigDiagnostics.testImageFolder(settings.imagesFolder); Config.Server.port = settings.port; Config.Server.imagesFolder = settings.imagesFolder; Config.Client.publicUrl = settings.publicUrl;