Skip to content

Commit da20932

Browse files
committed
add comment
1 parent 987329b commit da20932

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/start/src/config/dev-server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export function devServer(): Array<PluginOption> {
4343

4444
return async () => {
4545
vitePreviewServer.middlewares.use(async (req, res) => {
46+
// fix streaming because vite uses gzip by default
4647
res.setHeader("Content-Encoding", "identity");
4748

4849
const webReq = new NodeRequest({ req, res });

0 commit comments

Comments
 (0)