From 3737bbafb109a79f77c3047eb9b2791e6b57344e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 23 Oct 2016 19:41:17 +0200 Subject: Server: host -> hostname (host = hostname + port) --- server/lib/friends.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib') diff --git a/server/lib/friends.js b/server/lib/friends.js index b2ad0bbb3..3f100545c 100644 --- a/server/lib/friends.js +++ b/server/lib/friends.js @@ -273,7 +273,7 @@ function isMe (url) { const hostname = parsedUrl.hostname const port = parseInt(parsedUrl.port) - const myHostname = constants.CONFIG.WEBSERVER.HOST + const myHostname = constants.CONFIG.WEBSERVER.HOSTNAME const myPort = constants.CONFIG.WEBSERVER.PORT return hostname === myHostname && port === myPort -- cgit v1.2.3