Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

951 B
Raw Blame
import type { Metadata } from "next";
import { resolveLang } from "@/lib/i18n";
import { PluginDetailClient } from "../[id]/PluginDetailClient";

// Shell route for the worker fallback: pretty /plugins/<id> URLs missing from the
// build snapshot are served this page, which reads the id from ?id= and renders
// the detail view client-side. Keep noindex — real plugin pages are baked at build.
export async function generateMetadata({ params }: { params: Promise<{ lang: string }> }): Promise<Metadata> {
  const { lang } = await params;
  const l = resolveLang(lang);

  return {
    title: "Plugin",
    robots: { index: false, follow: false },
    alternates: { canonical: `/${l}/plugins` },
  };
}

export default async function PluginDetailShellPage({ params }: { params: Promise<{ lang: string }> }) {
  const { lang } = await params;
  const l = resolveLang(lang);

  return <PluginDetailClient lang={l} id={null} initialPlugin={null} />;
}