This commit is contained in:
eric
2026-03-28 08:39:12 -05:00
parent 4b3c6cbee4
commit b84f9b751c
49 changed files with 3728 additions and 771 deletions

View File

@@ -0,0 +1 @@
export { default } from "../page";

View File

@@ -7,6 +7,7 @@ const geistSans = localFont({
variable: "--font-geist-sans",
weight: "100 900",
});
const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff",
variable: "--font-geist-mono",
@@ -14,8 +15,8 @@ const geistMono = localFont({
});
export const metadata: Metadata = {
title: "直播推流控制台",
description: "YouTube / TikTok / HDMI 推流进程与配置管理",
title: "直播与系统控制台",
description: "业务进程、系统服务与配置文件的统一控制平面",
};
export default function RootLayout({
@@ -25,9 +26,7 @@ export default function RootLayout({
}>) {
return (
<html lang="zh-CN">
<body
className={`${geistSans.variable} ${geistMono.variable} font-sans antialiased`}
>
<body className={`${geistSans.variable} ${geistMono.variable} font-sans antialiased`}>
<div
className="fixed inset-0 -z-10 opacity-90"
style={{

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
export { default } from "../page";

View File

@@ -19,6 +19,14 @@ const API_ROOTS = new Set([
"save_config",
"get_url_config",
"save_url_config",
"stack",
"service_action",
"managed_roots",
"managed_files",
"managed_file",
"hardware_profile",
"system_snapshot",
"android",
]);
export function middleware(request: NextRequest) {
@@ -47,5 +55,13 @@ export const config = {
"/save_config",
"/get_url_config",
"/save_url_config",
"/stack/:path*",
"/service_action",
"/managed_roots",
"/managed_files",
"/managed_file",
"/hardware_profile",
"/system_snapshot",
"/android/:path*",
],
};