mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-14 16:24:59 -05:00
Fixed welcome image not working in config.json
This commit is contained in:
parent
c3bc430241
commit
77df924926
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.4.1-h",
|
"version": "0.4.1-i",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Management",
|
"Remote Management",
|
||||||
"Intel AMT",
|
"Intel AMT",
|
||||||
|
@ -1890,6 +1890,9 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||||||
res.send(parent.configurationFiles[domain.welcomepicture]);
|
res.send(parent.configurationFiles[domain.welcomepicture]);
|
||||||
return;
|
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'))) {
|
if (parent.webPublicOverridePath && obj.fs.existsSync(obj.path.join(obj.parent.webPublicOverridePath, 'images/mainwelcome.jpg'))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user