mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Removed ip address logging
This commit is contained in:
parent
c1feb28f86
commit
168a36b538
6 changed files with 17 additions and 27 deletions
|
@ -727,8 +727,6 @@ function setup(data: SubmoduleData): any {
|
|||
utils.WriteFile('[]', registeredScriptsFile)
|
||||
}
|
||||
|
||||
const ip: any =
|
||||
req.headers['cf-connecting-ip'] || req.connection.remoteAddress
|
||||
const ua: any = req.headers['user-agent']
|
||||
const registeredScripts = utils.ReadJSON(registeredScriptsFile)
|
||||
const { cid, uid, version, installSource, date } = req.body
|
||||
|
@ -743,7 +741,6 @@ function setup(data: SubmoduleData): any {
|
|||
version: version,
|
||||
installSource: installSource,
|
||||
date: date,
|
||||
ip: ip,
|
||||
userAgent: ua,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue