Next.js · Junior · Question 15 of 75
At what URL is the file public/logo.png served?
- ✓Correct answer:
/logo.png - 2
/public/logo.png - 3
/_next/static/logo.png
Explanation
The contents of public are served from the site root. Favicons, robots.txt and static images go there. These files don't go through the build and don't get a hash in their name, so caching must be configured separately. /_next/static is the path for build-generated assets.