claude-usage-dashboard 1.0.4 → 1.0.5
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 +1 -1
- package/server/index.js +1 -1
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -11,7 +11,7 @@ const PORT = process.env.PORT || 3000;
|
|
|
11
11
|
const LOG_DIR = path.join(os.homedir(), '.claude', 'projects');
|
|
12
12
|
|
|
13
13
|
// Resolve d3 via Node module resolution so it works when dependencies are hoisted (e.g. npx)
|
|
14
|
-
const d3Dir = path.dirname(require.resolve('d3
|
|
14
|
+
const d3Dir = path.join(path.dirname(require.resolve('d3')), '..', 'dist');
|
|
15
15
|
|
|
16
16
|
const app = express();
|
|
17
17
|
app.use('/lib/d3', express.static(d3Dir));
|