mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-27 02:04:30 +03:00
Fixed chat not working when UserAllowedIP is set.
This commit is contained in:
parent
dece20ac93
commit
c3f084aeee
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.4.1-z",
|
"version": "0.4.2-a",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Management",
|
"Remote Management",
|
||||||
"Intel AMT",
|
"Intel AMT",
|
||||||
|
@ -1697,7 +1697,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||||||
|
|
||||||
// Render the messenger application.
|
// Render the messenger application.
|
||||||
function handleMessengerRequest(req, res) {
|
function handleMessengerRequest(req, res) {
|
||||||
const domain = checkUserIpAddress(req, res);
|
const domain = getDomain(req);
|
||||||
if (domain == null) { parent.debug('web', 'handleMessengerRequest: no domain'); res.sendStatus(404); return; }
|
if (domain == null) { parent.debug('web', 'handleMessengerRequest: no domain'); res.sendStatus(404); return; }
|
||||||
parent.debug('web', 'handleMessengerRequest()');
|
parent.debug('web', 'handleMessengerRequest()');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user