- Add libs/api/admin with admin API endpoints: sync models, workspace credit, billing alert check - Add workspace_alert_config model and alert service - Add Session::no_op() for background tasks without user context - Add admin/ Next.js admin panel (AI models, billing, workspaces, audit) - Start billing alert background task every 30 minutes
11 lines
217 B
TypeScript
11 lines
217 B
TypeScript
import { redirect } from "next/navigation";
|
|
|
|
async function checkSession() {
|
|
// This will be called on the server; client will redirect
|
|
return null;
|
|
}
|
|
|
|
export default function RootPage() {
|
|
redirect("/login");
|
|
}
|