Skip to content

Commit a34a6b6

Browse files
author
Andre Bluehs
committed
- update wrangler
- update to use transformstreams to improve memory usage
1 parent cfccf6f commit a34a6b6

File tree

11 files changed

+6167
-1077
lines changed

11 files changed

+6167
-1077
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
## Configure and Deploy
2525

2626
1. Edit `wrangler.toml` to add `DOMAIN`, `SUBDOMAIN`, and `ACCOUNTID`.
27-
2. Edit `src/index.ts` (line 37) to send the decoded data anywhere you would like.
27+
2. Edit `src/index.ts` (line 45) to send the decoded data anywhere you would like.
2828
3. Run `npx wrangler secret put MATCHED_PAYLOAD_PRIVATE_KEY`:
2929
- Enter the private key generated when deploying a matched payload.
3030
- Refer to the [documentation](https://developers.cloudflare.com/waf/managed-rules/payload-logging/) for more information on generating the private/public key pair.
@@ -43,7 +43,7 @@ The matched data payload is base64 encoded, and then binary encoded using the fo
4343
1. Run `echo 'MATCHED_PAYLOAD_PRIVATE_KEY=uBS5eBttHrqkdY41kbZPdvYnNz8Vj0TvKIUpjB1y/GA=' > .dev.vars` (taken from https://github.com/cloudflare/matched-data-cli).
4444
2. In terminal window 1, run: `npm run dev`.
4545
3. In terminal window 2, run: `npm run req`.
46-
4. Back in terminal window 1, you should see `[ 'test matched data' ]`.
46+
4. Back in terminal window 1, you should see `'test matched data'`.
4747

4848
### See Also
4949

example.txt.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)