From 0a98b51392ef680d98e2db6d400234fa07765712 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Thu, 8 Oct 2026 10:03:52 +0700 Subject: [PATCH] docs: point usage at the tiennm99.workers.dev URL --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f3e8d4e..b7e76e0 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,12 @@ A Cloudflare Worker that forwards logs to [My Grafana Cloud](https://miti99.graf ## Usage -POST a JSON body to `https://miti-loki.miti99.workers.dev/`. GET redirects to this repo. Any other method returns 405; missing/empty body returns 400. +POST a JSON body to `https://miti-loki.tiennm99.workers.dev/`. GET redirects to this repo. Any other method returns 405; missing/empty body returns 400. ### Single log entry ```bash -curl -X POST 'https://miti-loki.miti99.workers.dev/?app=demo&env=prod' \ +curl -X POST 'https://miti-loki.tiennm99.workers.dev/?app=demo&env=prod' \ -H 'Content-Type: application/json' \ -d '{"message": "Hello from miti-loki"}' ``` @@ -17,7 +17,7 @@ curl -X POST 'https://miti-loki.miti99.workers.dev/?app=demo&env=prod' \ ### Batch (array of entries) ```bash -curl -X POST 'https://miti-loki.miti99.workers.dev/?app=demo' \ +curl -X POST 'https://miti-loki.tiennm99.workers.dev/?app=demo' \ -H 'Content-Type: application/json' \ -d '[{"message":"first"},{"message":"second"}]' ``` @@ -86,7 +86,7 @@ Read this section first, do not probe. - **One POST per intended log batch.** Do not send a `"test"` payload to verify the endpoint — every successful POST writes to Loki, so probes pollute the log stream. - **Exact request:** ``` - POST https://miti-loki.miti99.workers.dev/?