1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

folder settings bugfix

This commit is contained in:
Braun Patrik 2017-07-15 17:44:33 +02:00
parent 14e81d9091
commit 935f0e35ec

View File

@ -185,7 +185,7 @@ export class AdminMWs {
try { try {
const settings: BasicConfigDTO = req.body.settings; const settings: BasicConfigDTO = req.body.settings;
await ConfigDiagnostics.testThumbnailFolder(settings.imagesFolder); await ConfigDiagnostics.testImageFolder(settings.imagesFolder);
Config.Server.port = settings.port; Config.Server.port = settings.port;
Config.Server.imagesFolder = settings.imagesFolder; Config.Server.imagesFolder = settings.imagesFolder;
Config.Client.publicUrl = settings.publicUrl; Config.Client.publicUrl = settings.publicUrl;