Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Update Makefile

Uku Tahtf92e26c68fd9
diff --git a/Makefile b/Makefile
index 83cba5e3fa..fe0a23be24 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,9 @@ postgres-stop:
dummy_event:
curl 'http://localhost:8000/api/event' \
- -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 OPR/71.0.3770.284' \
- -H 'content-type: text/plain' \
- -H 'referer: http://dummy-referrer.site' \
+ -H 'X-Forwarded-For: 127.0.0.1' \
+ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 OPR/71.0.3770.284' \
+ -H 'Content-Type: text/plain' \
+ -H 'Referer: http://dummy-referrer.site' \
--data-binary '{"n":"pageview","u":"http://dummy.site","d":"dummy.site","r":null,"w":1666}' \
--compressed