add ip to fingerprint
All checks were successful
Build and push image for doorman / docker (push) Successful in 54s
All checks were successful
Build and push image for doorman / docker (push) Successful in 54s
This commit is contained in:
parent
938213634d
commit
30cf78c058
@ -14,6 +14,11 @@ app.use(Fingerprint({
|
||||
]
|
||||
}));
|
||||
|
||||
app.use((req, res, next) => {
|
||||
(req as any).fingerprint.ip = req.ip;
|
||||
next();
|
||||
});
|
||||
|
||||
app.use(express.json());
|
||||
app.use(express.static("dist"));
|
||||
app.use('/api/door', DoorRouter);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user