mirror of
https://github.com/YouXam/claude-code-usage-dashboard.git
synced 2025-12-21 13:37:24 +08:00
add support for production
This commit is contained in:
@@ -4,7 +4,8 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Claude Code Usage Dashboard</title>
|
<title>Claude Code Usage Dashboard</title>
|
||||||
<link rel="stylesheet" crossorigin href="../ai-usage/index-cq4ce245.css"><script type="module" crossorigin src="../ai-usage/index-jqd5mhpf.js"></script></head>
|
<script src="./main.tsx" type="module" crossorigin></script>
|
||||||
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|
||||||
|
|||||||
@@ -159,10 +159,10 @@ Bun.serve({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// development: {
|
development: {
|
||||||
// hmr: true,
|
hmr: Bun.env.DEV === "development",
|
||||||
// console: true,
|
console: Bun.env.DEV === "development"
|
||||||
// }
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(`Server running on http://localhost:${port}`);
|
console.log(`Server running on http://localhost:${port}`);
|
||||||
Reference in New Issue
Block a user