-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images in /public not served on Vercel #18
Comments
@bennash I was able to update my {
"version": 3,
"routes": [
{
"src": "/favicon.ico",
"dest": "/favicon.ico"
},
{
- "src": "/assets/(.*)",
- "dest": "/assets/$1"
+ "src": "/(.*)",
+ "dest": "/$1"
},
{
"src": "/(.*)",
"dest": "/"
}
]
} |
Thanks @corwinm for the suggestion. I just merged in #60 which is based off your input. Key differences:
Also, @bennash, I generally recommend importing images directly (see the Thanks for opening the issue! |
Thanks @brookslybrand! I'll have to update my config later and see how it goes. I like the idea of having the public folder "just work" but I can also understand the need to have restrictions here and more control over cache. I think my use case was centered around a site.manifest and the icons there. Thats easy enough to configure to work but in an ideal world anything in the public directory would be public. |
I'm not getting vercel to show the images in the /public directory. Is there some config to set? thanks
The text was updated successfully, but these errors were encountered: