Commit d9f1232
fix(observability): convert root rewrite to redirect; suppress Write permission noise
/ was served via rewrite (/en content at / URL). Nextra reads the locale
from window.location.pathname, gets empty string from "/".split("/")[1],
then calls Intl with "" → "Invalid language tag". 20+ errors per day.
Fix: 301 redirect / → /en so the browser URL reflects the actual locale.
Also adds Write permission denied / Permission denied to access property
to IGNORED_PATTERNS — Chrome Android WebView/extension noise (file=None).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f7eb66a commit d9f1232
2 files changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
172 | 177 | | |
173 | 178 | | |
174 | 179 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
| |||
0 commit comments