Skip to content

Commit

Permalink
Merge pull request #631 from derbyjs/fix-renderStatic-params
Browse files Browse the repository at this point in the history
Fix error in server app.renderStatic
  • Loading branch information
ericyhwang authored Apr 18, 2024
2 parents d1381b3 + 5589361 commit 25390be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PageForServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ function stringifyBundle(bundle) {

// TODO: Cleanup; copied from tracks
function pageParams(req) {
const params = Object.create(null, {
const params = Object.create(null);
Object.assign(params, {
url: req.url,
body: req.body,
query: req.query,
Expand Down

0 comments on commit 25390be

Please sign in to comment.