Skip to content

fix: loading static files#1

Merged
houssems merged 1 commit intomainfrom
fix/loading-static-files
Apr 5, 2025
Merged

fix: loading static files#1
houssems merged 1 commit intomainfrom
fix/loading-static-files

Conversation

@houssems
Copy link
Owner

@houssems houssems commented Apr 5, 2025

Hi,

I'm working in Angular 19 SSR integration with Hono. While investigating a server crash on the loading of static files, I discovered that it didn't wait for the res object to get resolved. The issue is from instanceof Promise.

RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: undefined at ServerResponse.writeHead (node:_http_server:351:11) at Hn (/dist/server/server.mjs:89:11) at Server.<anonymous> (/dist/server/server.mjs:91:554) at Server.emit (node:events:519:28) at parserOnIncoming (node:_http_server:1141:12) at HTTPParser.parserOnHeadersComplete (node:_http_common:118:17) { code: 'ERR_HTTP_INVALID_STATUS_CODE' }

@houssems houssems merged commit 593ab3d into main Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant