mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Submodule update
This commit is contained in:
parent
34f44a0fa2
commit
8f0b1f81d5
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ module.exports = function (options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const ip = req.headers['cf-connecting-ip'] || req.connection.remoteAddress
|
const ip = req.headers['cf-connecting-ip'] || req.connection.remoteAddress
|
||||||
let hostname = 'UNDEF'
|
let hostname = 'NOHOST'
|
||||||
if (req.hostname) {
|
if (req.hostname) {
|
||||||
hostname = req.hostname.replace('www.', '').split('.')[0]
|
hostname = req.hostname.replace('www.', '').split('.')[0]
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit eacd72f2ba6a2a5435258bde148e9bca710a0d1c
|
Subproject commit f8d4bf2a414d2973582c08bfa8b8b8f19389b2e9
|
Loading…
Add table
Add a link
Reference in a new issue