diff --git a/web/astro.config.mjs b/web/astro.config.mjs index f8e1a8314..fef3f4397 100644 --- a/web/astro.config.mjs +++ b/web/astro.config.mjs @@ -2,7 +2,7 @@ import { defineConfig } from 'astro/config' import sitemap from '@astrojs/sitemap' export default defineConfig({ - site: 'https://openclaude.gitlawb.com', + site: 'https://openclaude.twigpine.com', trailingSlash: 'always', redirects: { '/changelog/': 'https://github.com/Twigpine/openclaude/releases', diff --git a/web/public/llms.txt b/web/public/llms.txt index df2200091..6c3725bf8 100644 --- a/web/public/llms.txt +++ b/web/public/llms.txt @@ -8,7 +8,7 @@ OpenClaude originated from the Claude Code codebase and has since been substanti - [GitHub repository](https://github.com/Twigpine/openclaude): source code, releases, and issue tracker - [npm package](https://www.npmjs.com/package/@twigpine/openclaude): `@twigpine/openclaude` -- [Twigpine mirror](https://gitlawb.com/node/repos/z6MkqDnb/openclaude) +- [Twigpine mirror](https://explorer.twigpine.com/repos/z6MkqDnb7Siv3Cwj7pGJq4T5EsUisECqR8KpnDLwcaZq5TPr/openclaude) - [Security policy](https://github.com/Twigpine/openclaude/security/policy) - [License notice](https://github.com/Twigpine/openclaude/blob/main/LICENSE): MIT applies only to OpenClaude contributors' modifications; the underlying Claude Code code is Anthropic's proprietary software. diff --git a/web/public/robots.txt b/web/public/robots.txt index a986fd392..d30e7e37a 100644 --- a/web/public/robots.txt +++ b/web/public/robots.txt @@ -1,4 +1,4 @@ User-agent: * Allow: / -Sitemap: https://openclaude.gitlawb.com/sitemap-index.xml +Sitemap: https://openclaude.twigpine.com/sitemap-index.xml diff --git a/web/src/data/commands.ts b/web/src/data/commands.ts index df72e520c..f1b68e973 100644 --- a/web/src/data/commands.ts +++ b/web/src/data/commands.ts @@ -143,7 +143,7 @@ export const commands: SlashCommand[] = [ { name: 'terminal-setup', description: 'Install the Shift+Enter key binding for newlines', category: 'customization' }, { name: 'commit-message', description: 'Configure commit attribution text', category: 'customization', args: '[status|off|default|set "text"|co-author ]' }, { name: 'buddy', description: 'Hatch, pet, and manage your OpenClaude companion', category: 'customization', args: '[status|mute|unmute|set
|name |help]' }, - { name: 'ads', description: 'Earn opengateway credits from sponsored tips (ads.gitlawb.com)', category: 'customization', args: 'on | off' }, + { name: 'ads', description: 'Earn opengateway credits from sponsored tips (ads.twigpine.com)', category: 'customization', args: 'on | off' }, { name: 'stickers', description: 'Order OpenClaude stickers', category: 'customization' }, // ── help & diagnostics ─────────────────────────────────────────────── diff --git a/web/src/data/providers.ts b/web/src/data/providers.ts index a6dab0016..9379a81bb 100644 --- a/web/src/data/providers.ts +++ b/web/src/data/providers.ts @@ -120,7 +120,7 @@ export const providers: Provider[] = [ group: 'gateways', setup: 'startup default, /provider, or env vars', envVars: ['OPENGATEWAY_API_KEY'], - notes: 'Smart gateway at https://opengateway.gitlawb.com/v1 with auto smart-routing, MiMo, MiniMax, Qwen, GLM, Gemini — plus free models (Nemotron 3 Ultra, Ling 3.0 Flash, Tencent HY3). Keys at gitlawb.com/opengateway/keys.', + notes: 'Smart gateway at https://api.twigpine.com/v1 with auto smart-routing, MiMo, MiniMax, Qwen, GLM, Gemini — plus free models (Nemotron 3 Ultra, Ling 3.0 Flash, Tencent HY3). Keys at gitlawb.com/opengateway/keys.', badge: 'recommended', }, { diff --git a/web/src/data/site.ts b/web/src/data/site.ts index bb51b12dc..2eb03baf5 100644 --- a/web/src/data/site.ts +++ b/web/src/data/site.ts @@ -1,5 +1,5 @@ export const SITE = { - url: 'https://openclaude.gitlawb.com', + url: 'https://openclaude.twigpine.com', name: 'openclaude', title: 'openclaude — open-source coding agent CLI for any model', description: @@ -9,11 +9,9 @@ export const SITE = { github: 'https://github.com/Twigpine/openclaude', releasesUrl: 'https://github.com/Twigpine/openclaude/releases', twigpine: 'https://twigpine.com', - // The node mirror path is unchanged: twigpine.com/node/repos/... redirects to - // the same explorer.gitlawb.com endpoint that gitlawb.com does, and neither - // currently serves this repo (404). Left as-is rather than swapped to a host - // that resolves no better. - gitlawbRepo: 'https://gitlawb.com/node/repos/z6MkqDnb/openclaude', + // Direct Explorer link, with the owner's full key. The short-key path under + // /node/repos returned 404, so link the page that resolves. + gitlawbRepo: 'https://explorer.twigpine.com/repos/z6MkqDnb7Siv3Cwj7pGJq4T5EsUisECqR8KpnDLwcaZq5TPr/openclaude', ogDefault: '/og/default.png', ogDocs: '/og/docs.png', } as const diff --git a/web/vercel.json b/web/vercel.json new file mode 100644 index 000000000..a821dabba --- /dev/null +++ b/web/vercel.json @@ -0,0 +1,16 @@ +{ + "redirects": [ + { + "source": "/", + "has": [{ "type": "host", "value": "openclaude.gitlawb.com" }], + "destination": "https://openclaude.twigpine.com/", + "permanent": true + }, + { + "source": "/:path*", + "has": [{ "type": "host", "value": "openclaude.gitlawb.com" }], + "destination": "https://openclaude.twigpine.com/:path*", + "permanent": true + } + ] +}