bit-office 1.0.2 → 1.0.4

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/dist/index.js CHANGED
@@ -4336,8 +4336,8 @@ function getOrCreateMachineId() {
4336
4336
  }
4337
4337
  function resolveWebDir() {
4338
4338
  if (process.env.WEB_DIR) return process.env.WEB_DIR;
4339
- const bundled = resolve(__dirname, "web/out");
4340
- if (existsSync(bundled)) return bundled;
4339
+ const bundled = resolve(__dirname, "web");
4340
+ if (existsSync(resolve(bundled, "index.html"))) return bundled;
4341
4341
  return resolve(__dirname, "../../web/out");
4342
4342
  }
4343
4343
  function resolveDefaultWorkspace() {