You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(@angular/build): force dev-server to use HTTP/1.1 when using SSR with SSL
When using SSR with SSL, Vite attempts to use HTTP/2 by default. However, the Express server used for SSR does not support HTTP/2, causing requests to fail. This commit forces Vite to use HTTP/1.1 in this scenario by setting the ALPNProtocols to `['http/1.1']`.
This is required as now Vite uses HTTP 2 for SSL: vitejs/vite@fc21af7Closes#31894
// This will add the header `Access-Control-Allow-Origin: http://example.com`,
72
66
// where `http://example.com` is the requesting origin.
0 commit comments