projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
improve notification popup interactivity: read all, layout, position
[oweals/peertube.git]
/
server.ts
diff --git
a/server.ts
b/server.ts
index b2541eed680c525a033ec3825de69245e96fe975..8df3add2cdd3abfa6291c9cbae2ca82c271092c2 100644
(file)
--- a/
server.ts
+++ b/
server.ts
@@
-142,7
+142,7
@@
if (isTestInstance()) {
// For the logger
morgan.token('remote-addr', req => {
- if (req.get('DNT') === '1') {
+ if (
CONFIG.LOG.ANONYMIZE_IP === true ||
req.get('DNT') === '1') {
return anonymize(req.ip, 16, 16)
}