1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 12:41:17 -04:00

clean up serverless functions

This commit is contained in:
2021-11-08 07:01:05 -05:00
parent 4da59e5e81
commit 6ff4bc52e5
8 changed files with 43 additions and 51 deletions

View File

@@ -13,7 +13,7 @@ Okay, this is an easy one. 😉
A simple hit counter on each page tallies an aggregate number of pageviews (i.e. `hits = hits + 1`). Individual views and identifying (or non-identifying) details are **never stored or logged**.
The [serverless function](https://github.com/jakejarvis/jarv.is/blob/main/api/hits.js) and [client script](https://github.com/jakejarvis/jarv.is/blob/main/assets/js/src/counter.js) are open source, and [snapshots of the database](https://github.com/jakejarvis/website-stats) are public.
The [serverless function](https://github.com/jakejarvis/jarv.is/blob/main/api/hits.js) and [client script](https://github.com/jakejarvis/jarv.is/blob/main/assets/js/src/hits.js) are open source, and [snapshots of the database](https://github.com/jakejarvis/website-stats) are public.
{{< image src="images/fauna_hits.png" alt="The entire database schema." link="/privacy/images/fauna_hits.png" />}}