@data-fair/dev-server 1.5.6 → 1.5.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server/app.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/dev-server",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "description": "A development server for optimal development experience of data-fair applications.",
5
5
  "main": "server/index.js",
6
6
  "bin": {
package/server/app.js CHANGED
@@ -80,7 +80,8 @@ app.use('/app', createProxyMiddleware({
80
80
  exposedUrl: 'http://localhost:5888/app',
81
81
  href: 'http://localhost:5888/config',
82
82
  apiUrl: 'http://localhost:5888/data-fair/api/v1',
83
- wsUrl: 'ws://localhost:5888/data-fair'
83
+ wsUrl: 'ws://localhost:5888/data-fair',
84
+ owner: config.dataFair && config.dataFair.owner
84
85
  })))
85
86
  const html = document.childNodes.find(c => c.tagName === 'html')
86
87
  if (!html) throw new Error('HTML structure is broken, expect html, head and body elements')