diff options
author | 2021-04-27 13:42:03 -0500 | |
---|---|---|
committer | 2021-04-27 13:42:03 -0500 | |
commit | 73b7827b40ae33664877156850ecf04302fa668a (patch) | |
tree | bab8d916d06238bd859435c13b2c7390936a9cba /docs/dev.md | |
parent | 41c64b30af7ed34c1a870b6f273a2889fa2df102 (diff) | |
download | astro-73b7827b40ae33664877156850ecf04302fa668a.tar.gz astro-73b7827b40ae33664877156850ecf04302fa668a.tar.zst astro-73b7827b40ae33664877156850ecf04302fa668a.zip |
chore: update docs to new defaults (#133)
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. |