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!Nico•16d ago
In your root ./ would be the project folder, not the folder you’re currently in. So I see your going back two directories which is outside you project folder
Want results from more Discord servers?
More PostsWhen there's an error on my typescript code on Hono, Vite Dev Server crashes, and doesn't restartProblem:
- Error? Crash the dev server and not wait for file changes.
Ideal experience:
- Error? SaHow to implement Oauth in Hono?I am a beginner. I have used next-auth in next js. Is there a way to implement google Oauth in hono?Failed to load .env file ".env": Error: ENOENT: no such file or directoryHey, Im new to using cloudflare and new to using Hono. I now came across an error that tells me Im mexecutionCtx.waitUntil on write serviceI have a worker that I want to call an external api on, but I want to return a response without awai