Skip to content

Commit

Permalink
fix: reading etag of undefined - vite ^2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar-22 committed Feb 11, 2022
1 parent d8e0717 commit c442030
Show file tree
Hide file tree
Showing 4 changed files with 275 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"devDependencies": {
"@vitebook/core": "workspace:*",
"svelte": "^3.44.1",
"vite": "^2.7.1"
"vite": "^2.8.1"
},
"peerDependencies": {
"@vitebook/core": "0.21.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
},
"devDependencies": {
"rollup": "^2.58.0",
"vite": "^2.7.0"
"vite": "^2.8.1"
},
"engines": {
"node": ">=15"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const indexHtmlMiddleware =
try {
let html = readIndexHtmlFile(app);
html = await server.transformIndexHtml(req.url, html, req.originalUrl);
return send(req, res, html, 'html');
return send(req, res, html, 'html', {});
} catch (e) {
return next(e);
}
Expand Down
Loading

0 comments on commit c442030

Please sign in to comment.