v0.2.8 operator dashboard with per-call audit log + cost tracking
This commit is contained in:
@@ -14,6 +14,7 @@ import { fileURLToPath } from "url";
|
||||
|
||||
import { initConfig } from "./config.js";
|
||||
import { initCredits } from "./credits.js";
|
||||
import { initAuditLog } from "./audit-log.js";
|
||||
import {
|
||||
setupAdminAuthMiddleware,
|
||||
setupAdminAuthRoutes,
|
||||
@@ -33,6 +34,7 @@ const PORT = parseInt(process.env.PORT || "3002", 10);
|
||||
|
||||
await initConfig({ dataDir: DATA_DIR });
|
||||
await initCredits({ dataDir: DATA_DIR });
|
||||
await initAuditLog({ dataDir: DATA_DIR });
|
||||
|
||||
const app = express();
|
||||
app.use(cors());
|
||||
|
||||
Reference in New Issue
Block a user