hfs 0.57.17 → 0.57.18

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": "hfs",
3
- "version": "0.57.17",
3
+ "version": "0.57.18",
4
4
  "description": "HTTP File Server",
5
5
  "keywords": ["file server", "http server"],
6
6
  "homepage": "https://rejetto.com/hfs",
package/src/const.js CHANGED
@@ -64,7 +64,7 @@ exports.DEV = process.env.DEV ? 'DEV' : '';
64
64
  exports.ORIGINAL_CWD = process.cwd();
65
65
  exports.HFS_STARTED = new Date();
66
66
  const PKG_PATH = (0, path_1.join)(__dirname, '..', 'package.json');
67
- exports.BUILD_TIMESTAMP = "2025-09-16T14:19:48.855Z";
67
+ exports.BUILD_TIMESTAMP = "2025-09-17T19:25:39.898Z";
68
68
  const pkg = JSON.parse(fs.readFileSync(PKG_PATH, 'utf8'));
69
69
  exports.VERSION = pkg.version;
70
70
  exports.RUNNING_BETA = exports.VERSION.includes('-');
package/src/vfs.js CHANGED
@@ -174,7 +174,7 @@ async function reviewVfs(data = exports.vfs) {
174
174
  }
175
175
  exports.saveVfs = (0, misc_1.debounceAsync)(async () => {
176
176
  await reviewVfs();
177
- return (0, config_1.saveConfigAsap)();
177
+ await (0, config_1.setConfig)({ vfs: exports.vfs }, true);
178
178
  });
179
179
  function isRoot(node) {
180
180
  return node === exports.vfs;