Fixed image import.
This commit is contained in:
parent
e6fa765233
commit
e38bd251d2
10
out.txt
10
out.txt
|
@ -13,3 +13,13 @@ MeshCentral v0.8.16, Hybrid (LAN + WAN) mode.
|
|||
MeshCentral Intel(R) AMT server running on central.mesh.meshcentral.com:4433.
|
||||
MeshCentral HTTPS server running on central.mesh.meshcentral.com:443.
|
||||
Server Ctrl-C exit...
|
||||
MeshCentral HTTP redirection server running on port 80.
|
||||
MeshCentral v0.8.16, Hybrid (LAN + WAN) mode.
|
||||
MeshCentral Intel(R) AMT server running on central.mesh.meshcentral.com:4433.
|
||||
MeshCentral HTTPS server running on central.mesh.meshcentral.com:443.
|
||||
Server Ctrl-C exit...
|
||||
MeshCentral HTTP redirection server running on port 80.
|
||||
MeshCentral v0.8.16, Hybrid (LAN + WAN) mode.
|
||||
MeshCentral Intel(R) AMT server running on central.mesh.meshcentral.com:4433.
|
||||
MeshCentral HTTPS server running on central.mesh.meshcentral.com:443.
|
||||
Server Ctrl-C exit...
|
||||
|
|
|
@ -5368,7 +5368,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||
'X-XSS-Protection': '1; mode=block',
|
||||
'X-Content-Type-Options': 'nosniff',
|
||||
'Permissions-Policy': 'interest-cohort=()', // Remove Google's FLoC Network
|
||||
'Content-Security-Policy': "default-src 'none'; font-src 'self'; script-src 'self' 'unsafe-inline'" + extraScriptSrc + "; connect-src 'self'" + geourl + selfurl + "; img-src 'self'" + geourl + " data:; style-src 'self' 'unsafe-inline'; frame-src 'self' mcrouter:; media-src 'self'; form-action 'self'"
|
||||
'Content-Security-Policy': "default-src 'none'; font-src 'self'; script-src 'self' 'unsafe-inline'" + extraScriptSrc + "; connect-src 'self'" + geourl + selfurl + "; img-src 'self' blob: data:" + geourl + " data:; style-src 'self' 'unsafe-inline'; frame-src 'self' mcrouter:; media-src 'self'; form-action 'self'"
|
||||
};
|
||||
if ((parent.config.settings.allowframing !== true) && (typeof parent.config.settings.allowframing !== 'string')) { headers['X-Frame-Options'] = 'sameorigin'; }
|
||||
res.set(headers);
|
||||
|
|
Loading…
Reference in New Issue