mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
feat: rename server package to hub
Rename the `server/` directory to `hub/` and update all references across CLI, docs, web, and workspace configuration.
This commit is contained in:
@@ -274,9 +274,9 @@ export default function Home() {
|
||||
<h3 className="font-bold">{t('installation.npm.step1')}</h3>
|
||||
</div>
|
||||
<div className="bg-slate-950 text-slate-50 p-4 rounded-xl font-mono text-sm flex justify-between items-center border-2 border-slate-800">
|
||||
<code>npx @twsxtd/hapi server --relay</code>
|
||||
<Button variant="ghost" size="icon" className="text-slate-400 hover:text-white hover:bg-slate-800" onClick={() => copyToClipboard("npx @twsxtd/hapi server --relay", "server")}>
|
||||
{copied === "server" ? <Check className="h-4 w-4" /> : <Copy className="h-4 w-4" />}
|
||||
<code>npx @twsxtd/hapi hub --relay</code>
|
||||
<Button variant="ghost" size="icon" className="text-slate-400 hover:text-white hover:bg-slate-800" onClick={() => copyToClipboard("npx @twsxtd/hapi hub --relay", "hub")}>
|
||||
{copied === "hub" ? <Check className="h-4 w-4" /> : <Copy className="h-4 w-4" />}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user