Алексей Анисько
How do I properly serve static files (generated by Astro)?
I'm trying to serve files built by Astro along with their imports. Currently only the html files without imports get served.
For example,
http://localhost:3000/_astro/headerBg.C9Twm_Bk.png
returns 404.
Here's my project structure:
And here's the code from index.ts
:
Please ask me to share any other info you need to help. Thanks!2 replies