diff options
Diffstat (limited to 'server/lib/friends.js')
-rw-r--r-- | server/lib/friends.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
273 | const hostname = parsedUrl.hostname | 273 | const hostname = parsedUrl.hostname |
274 | const port = parseInt(parsedUrl.port) | 274 | const port = parseInt(parsedUrl.port) |
275 | 275 | ||
276 | const myHostname = constants.CONFIG.WEBSERVER.HOST | 276 | const myHostname = constants.CONFIG.WEBSERVER.HOSTNAME |
277 | const myPort = constants.CONFIG.WEBSERVER.PORT | 277 | const myPort = constants.CONFIG.WEBSERVER.PORT |
278 | 278 | ||
279 | return hostname === myHostname && port === myPort | 279 | return hostname === myHostname && port === myPort |