Fixed welcome image not working in config.json
This commit is contained in:
parent
bd50214b73
commit
465d5345cb
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "meshcentral",
|
||||
"version": "0.4.1-h",
|
||||
"version": "0.4.1-i",
|
||||
"keywords": [
|
||||
"Remote Management",
|
||||
"Intel AMT",
|
||||
|
|
|
@ -1890,6 +1890,9 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||
res.send(parent.configurationFiles[domain.welcomepicture]);
|
||||
return;
|
||||
}
|
||||
|
||||
// Use the configured logo picture
|
||||
try { res.sendFile(obj.path.join(obj.parent.datapath, domain.welcomepicture)); return; } catch (ex) { }
|
||||
}
|
||||
|
||||
if (parent.webPublicOverridePath && obj.fs.existsSync(obj.path.join(obj.parent.webPublicOverridePath, 'images/mainwelcome.jpg'))) {
|
||||
|
|
Loading…
Reference in New Issue