add ip to fingerprint
All checks were successful
Build and push image for doorman / docker (push) Successful in 54s

This commit is contained in:
Martin Dimitrov 2024-02-27 20:19:02 -08:00
parent 938213634d
commit 30cf78c058

View File

@ -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);