Skip to content
Back

Is it possible to set custom headers for static vite appwrite sites project ?

  • 0
  • Sites
  • Cloud
mdhruvil
1 Sep, 2025, 09:33

So I am using webcontainers in my project which needs certain headers to work, is there any way I can do that ? In vercel it is possible with vercel.json and in cloudflare it was possible with _headers file. WebContainers Docs: https://webcontainers.io/guides/configuring-headers

TL;DR
Developers are wondering if they can set custom headers for static Vite Appwrite sites. They need certain headers for webcontainers to work. Solutions include using `vercel.json` for Vercel or `_headers` file for Cloudflare. Check out the WebContainers Docs for more info: https://webcontainers.io/guides/configuring-headers.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more