hive-p2p 1.0.16 → 1.0.17

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": "hive-p2p",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -234,7 +234,8 @@ app.use('../rendering/visualizer.mjs', (req, res, next) => {
234
234
  next();
235
235
  });
236
236
 
237
- app.use(express.static(path.resolve()));
237
+ //app.use(express.static(path.resolve()));
238
+ app.use(express.static(packageRoot));
238
239
  const server = app.listen(3000, () => console.log('%cServer listening on http://localhost:3000', LOG_CSS.SIMULATOR));
239
240
  app.get('/', (req, res) => res.sendFile('rendering/visualizer.html', { root: packageRoot }));
240
241
  app.get('/the-gossip-grail', (req, res) => res.sendFile('resources/the-gossip-grail.html', { root: packageRoot }));