work in progress hit_counter

This commit is contained in:
Klemek
2021-03-30 15:30:54 +02:00
parent fa5cf31983
commit b0ba52e140
2 changed files with 35 additions and 2 deletions
+17
View File
@@ -0,0 +1,17 @@
module.exports = (config) => {
const count = (req, path) => {
};
const read = (path) => {
return {
hits: 0,
visitors: 0,
};
};
return {
count: count,
read: read,
};
};