Commit a863957
committed
fix(docs): use greedy regex for PostHog reverse proxy rewrites
Vercel's :path* wildcard fails on URLs with trailing slashes like
/ph/e/?compression=gzip-js, silently dropping PostHog event payloads.
Using :match(.*) matches the full path including trailing slashes.1 parent ad5da5c commit a863957
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | | - | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
23 | | - | |
| 23 | + | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments