#Netlify: public folder not serving

1 messages · Page 1 of 1 (latest)

fringe flint
#

Nevermind, I linked to /public/example.pdf instead of just /example.pdf:

modest isleBOT
#
If your issue is resolved, please help by doing the following two steps:
  1. 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.
  2. 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!
fringe flint
#

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

subtle void
#

I think the issue is here is that public/ should be in the root of the project, not inside src/?

subtle void
jade dove
fringe flint