Disable real-time compression to fix hanging requests

- Set high_compression: false in createResponse to prevent hanging
- The Brotli compression in service-srv createResponse was causing requests to hang
- Sites will now load instantly without compression overhead

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
riz 2025-11-20 01:17:52 +00:00
parent 26f277893f
commit e137b1df7f
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export const serveWeb = async (arg: {
const response = createResponse(arg.content, {
cache_accept: arg.cache_accept,
high_compression: true,
high_compression: false, // Disable compression to prevent hanging
headers: !type ? undefined : { "content-type": type },
rewrite: arg.opt?.rewrite,
});