aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/admin/statsGET.js
Commit message (Collapse)AuthorAgeFilesLines
* fix: use PassThrough from FileType to get the real mimetype of a file while ↵Zephyrrus2021-01-071-2/+0
| | | | it's being saved to the disk
* chore: Move statistics related functions to it's own fileZephyrrus2021-01-071-190/+18
| | | | | | fix: Extract database constructor to a separate file to ensure we only create one knex instance/db feat: Add cron for saving the stats to the database every hour feat: Get cached stats from database (if a stat is not found in the db, generate it)
* feat: Add experimental stats endpoint (no cache system yet)Zephyrrus2021-01-071-0/+208