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:
parent
14e81d9091
commit
935f0e35ec
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user