Update static file serving doc to mention Next.js 10 (#20815)

Fixes #20403
This commit is contained in:
Tim Neutkens 2021-01-06 16:21:34 +01:00 committed by GitHub
parent 991ad9225a
commit fb9ca49401
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.