I could not find any related topic so here I go : I deployed my astro site and everything works fine but my blog post. When clicking the post (on the site “blog”) a page appears showing HTTP Error 500.
Hey @nathanmartin, I have disabled SSR and now the blog post loads, however all my images are not visible throughout the whole site after redeploying. I found something similar here “My images are not showing on the website, how to fix the problem - #3 by shahbhavya” and after checking it in the Netlify UI I see every build command unchanged - however the field for basedirectory is empty. May this cause the missing pictures?
Perfect @nathanmartin Many thanks for your effort on that - great!
Just a last question for getting it: Why have the images been moved to the main directory? In the initial deploys the images have been in the public subdirectory, but now I had to delete thepblic folder from the file path. Is it simply, because they have been deployed before to the top directory?
If I add more images in the future I assume I will have to add them with the folder in the beginning of the path, right?
@lukas_dev To be honest, I don’t really know, I’ve never worked with Astro, and don’t currently have any interest in doing so, since I’ve been a dev for so long I’ve sadly become apathetic to the hot new and the constant roller-coaster ride of the hype cycle.
In terms of the deployment location on Netlify though, your Publish directory becomes the root of your deployment, so if you had a folder called public, (which was your Publish directory), and a file called public/something.jpg after deployment it would be available at /something.jpg.