closeclaw 3.0.2 → 3.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/cli.jsc CHANGED
Binary file
package/dist/index.cjs CHANGED
@@ -6859,10 +6859,10 @@ app.route("", attachmentRoutes);
6859
6859
  var publicDir = (0, import_node_path4.join)(_currentDir, "public");
6860
6860
  var hasPublicDir = (0, import_node_fs4.existsSync)(publicDir);
6861
6861
  if (hasPublicDir) {
6862
- app.use("/assets/*", (0, import_serve_static.serveStatic)({ root: "./public" }));
6863
- app.use("/fonts/*", (0, import_serve_static.serveStatic)({ root: "./public" }));
6864
- app.get("/favicon.ico", (0, import_serve_static.serveStatic)({ root: "./public", path: "/favicon.ico" }));
6865
- app.get("*", (0, import_serve_static.serveStatic)({ root: "./public", path: "/index.html" }));
6862
+ app.use("/assets/*", (0, import_serve_static.serveStatic)({ root: publicDir }));
6863
+ app.use("/fonts/*", (0, import_serve_static.serveStatic)({ root: publicDir }));
6864
+ app.get("/favicon.ico", (0, import_serve_static.serveStatic)({ root: publicDir, path: "/favicon.ico" }));
6865
+ app.get("*", (0, import_serve_static.serveStatic)({ root: publicDir, path: "/index.html" }));
6866
6866
  } else if (process.env.NODE_ENV !== "development") {
6867
6867
  log.warn("server", "No public/ directory found \u2014 frontend will not be served. Run 'npm run build' first.");
6868
6868
  }
package/dist/index.jsc CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "closeclaw",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "CloseClaw — AI-powered project management platform. One command, full stack.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",