add support for production

This commit is contained in:
YouXam
2025-08-27 20:42:16 +08:00
parent 5e5c269346
commit 36fdbd0ef4
2 changed files with 6 additions and 5 deletions

View File

@@ -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>

View File

@@ -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}`);