New stat retrieval and event store last visited date
This commit is contained in:
parent
f16b158c7f
commit
99989e66aa
3 changed files with 22 additions and 10 deletions
|
|
@ -30,6 +30,7 @@ app.use((req, res, next) => {
|
|||
req.types = {
|
||||
event: process.env.NODE_ENV === 'production' ? 'Event' : 'DevEvent',
|
||||
person: process.env.NODE_ENV === 'production' ? 'Person' : 'DevPerson',
|
||||
stats: process.env.NODE_ENV === 'production' ? 'Stats' : 'DevStats',
|
||||
};
|
||||
next();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue