@edryslabs/edrys-dev 0.1.0 → 0.1.1

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/dist/chat.js +3 -1
  2. package/package.json +1 -1
package/dist/chat.js CHANGED
@@ -98,7 +98,9 @@ export class Chat extends EventEmitter {
98
98
  res.sendStatus(409);
99
99
  });
100
100
  for (const [file, source] of Object.entries(PANEL_FILES)) {
101
- app.get('/edrys-dev/' + file, (req, res) => res.sendFile(source()));
101
+ // dotfiles: sendFile checks the whole absolute path, and installs often
102
+ // live under one (~/.nvm, ~/.npm/_npx); the path is ours, not the request's
103
+ app.get('/edrys-dev/' + file, (req, res) => res.sendFile(source(), { dotfiles: 'allow' }));
102
104
  }
103
105
  }
104
106
  add(entry) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edryslabs/edrys-dev",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Develop edrys-Lite labs locally: serves edrys-Lite, syncs on its own port and republishes the class whenever the lab file changes",
5
5
  "type": "module",
6
6
  "bin": {