diff --git a/package.json b/package.json index 83949442..ea354b1e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "derby", "description": "MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers.", - "version": "4.0.0-beta.11", + "version": "4.0.0-beta.12", "homepage": "http://derbyjs.com/", "repository": { "type": "git", diff --git a/src/PageForServer.ts b/src/PageForServer.ts index 8206faa4..85895ebb 100644 --- a/src/PageForServer.ts +++ b/src/PageForServer.ts @@ -90,7 +90,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,