diff options
Diffstat (limited to 'docs/dev.md')
-rw-r--r-- | docs/dev.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev.md b/docs/dev.md index 7b811d7d3..8057ddcd6 100644 --- a/docs/dev.md +++ b/docs/dev.md @@ -42,7 +42,7 @@ The 500 page will receive an `error` query parameter which you can access with: ``` --- -const error = import.meta.request.url.searchParams.get('error'); +const error = Astro.request.url.searchParams.get('error'); --- <strong>{error}</strong> |