statebus 7.0.13 → 7.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "statebus",
3
- "version": "7.0.13",
3
+ "version": "7.0.14",
4
4
  "description": "Synchronize state.",
5
5
  "main": "statebus.js",
6
6
  "scripts": {
package/server-library.js CHANGED
@@ -166,7 +166,7 @@ function import_server (bus, make_statebus, options)
166
166
 
167
167
  // Handle the GET or PUT request!
168
168
  if (req.method === 'GET') {
169
- var key = req.path.substr(1)
169
+ var key = req.url.substr(1)
170
170
 
171
171
  // Make a temporary client bus
172
172
  var cbus = bus.bus_for_http_client(req, res)