Skip to content

Commit

Permalink
Update static file serving doc to mention Next.js 10
Browse files Browse the repository at this point in the history
Fixes #20403
  • Loading branch information
timneutkens committed Jan 6, 2021
1 parent 991ad92 commit 799f759
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/basic-features/static-file-serving.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ function Avatar() {
export default Avatar
```

> Note: `next/image` requires Next.js 10 or later.
This folder is also useful for `robots.txt`, `favicon.ico`, Google Site Verification, and any other static files (including `.html`)!

> **Note**: Don't name the `public` directory anything else. The name cannot be changed and is the only directory used to serve static assets.
Expand Down

0 comments on commit 799f759

Please sign in to comment.