diff options
Diffstat (limited to 'docs/dev.md')
-rw-r--r-- | docs/dev.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/dev.md b/docs/dev.md index 8057ddcd6..15687d1bb 100644 --- a/docs/dev.md +++ b/docs/dev.md @@ -14,10 +14,10 @@ The dev server will serve the following special routes: ### /400 -This is a custom __400__ status code page. You can add this route by adding a page component to your `astro/pages` folder: +This is a custom __400__ status code page. You can add this route by adding a page component to your `src/pages` folder: ``` -├── astro/ +├── src/ │ ├── components/ │ └── pages/ │ └── 400.astro @@ -27,10 +27,10 @@ For any URL you visit that doesn't have a corresponding page, the `400.astro` fi ### /500 -This is a custom __500__ status code page. You can add this route by adding a page component to your `astro/pages` folder: +This is a custom __500__ status code page. You can add this route by adding a page component to your `src/pages` folder: ```astro -├── astro/ +├── src/ │ ├── components/ │ └── pages/ │ └── 500.astro @@ -48,4 +48,4 @@ const error = Astro.request.url.searchParams.get('error'); <strong>{error}</strong> ``` -A default error page is included with Astro so you will get pretty error messages even without adding a custom 500 page.
\ No newline at end of file +A default error page is included with Astro so you will get pretty error messages even without adding a custom 500 page. |