#Netlify: public folder not serving
1 messages · Page 1 of 1 (latest)
- From the ellipses (3-dot menu) in the top-right corner of the post (not the first message), edit the tags to include the Solved tag.
- From the same ellipses, select Close Post.
Your post will still be available to search and can be re-opened simply by replying in it. Closing a post moves it down with older posts, so we can more easily focus on issues that still need to be resolved.
Thank you for your help!
@jade dove Do you think it would be a good idea to add a check to Starlight Links Validator which prevents the build if some /public link is used?
I guess it's difficult or maybe even impossible because users could create a public folder inside the /docs Starlight content?
I think the issue is here is that public/ should be in the root of the project, not inside src/?
From the Starlight docs:
Ah, I see, sounds like just the link was wrong but your public/ directory was in the root?
It's already implemented but not checked in your specific case as it's in a custom component, which is a feature I've only started but not finished yet. And specific to your use-case again, when this feature is done, it'll by default error on the relative link rather than the invalid link.
oh wow, I didn't know that
oh yes, nvm, it was right, just the link was wrong, sry discord messup up my solved message and image...