chore(web): migrate canonical domain to omo.dev
Switch the production worker route and all hardcoded URLs from ohmyopenagent.com to omo.dev. Six legacy domains (ohmyopenagent.com, ohmyopencode.org, ulw.dev, ultrawork.ai, ultrawork.dev, ultrawork.engineer) are configured to permanently (301) redirect to omo.dev via Cloudflare Page Rules set up out-of-band via flarectl and the CF API. - wrangler.toml: bind worker to omo.dev + www.omo.dev only - middleware.ts: primaryHost to omo.dev, www to apex redirect retained - layout.tsx: primarySiteUrl + gaTrackedDomain to omo.dev (GA still G-S0QJFKT46Q) - sitemap.ts, robots.ts: BASE_URL to https://omo.dev - npm-downloads/route.ts: usage comment URL refreshed - web-deploy.yml: environment URL to https://omo.dev - manifesto.md: domain reality-check line lists omo.dev as canonical - README*.md (5 langs): npm-downloads badge endpoint to omo.dev
This commit is contained in:
@@ -23,7 +23,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment:
|
environment:
|
||||||
name: web-production
|
name: web-production
|
||||||
url: https://ohmyopenagent.com
|
url: https://omo.dev
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: packages/web
|
working-directory: packages/web
|
||||||
|
|||||||
+1
-1
@@ -50,7 +50,7 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/releases)
|
[](https://github.com/code-yeongyu/oh-my-openagent/releases)
|
||||||
[](https://www.npmjs.com/package/oh-my-opencode)
|
[](https://www.npmjs.com/package/oh-my-opencode)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/graphs/contributors)
|
[](https://github.com/code-yeongyu/oh-my-openagent/graphs/contributors)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/network/members)
|
[](https://github.com/code-yeongyu/oh-my-openagent/network/members)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/stargazers)
|
[](https://github.com/code-yeongyu/oh-my-openagent/stargazers)
|
||||||
|
|||||||
+1
-1
@@ -49,7 +49,7 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/releases)
|
[](https://github.com/code-yeongyu/oh-my-openagent/releases)
|
||||||
[](https://www.npmjs.com/package/oh-my-opencode)
|
[](https://www.npmjs.com/package/oh-my-opencode)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/graphs/contributors)
|
[](https://github.com/code-yeongyu/oh-my-openagent/graphs/contributors)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/network/members)
|
[](https://github.com/code-yeongyu/oh-my-openagent/network/members)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/stargazers)
|
[](https://github.com/code-yeongyu/oh-my-openagent/stargazers)
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/releases)
|
[](https://github.com/code-yeongyu/oh-my-openagent/releases)
|
||||||
[](https://www.npmjs.com/package/oh-my-opencode)
|
[](https://www.npmjs.com/package/oh-my-opencode)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/graphs/contributors)
|
[](https://github.com/code-yeongyu/oh-my-openagent/graphs/contributors)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/network/members)
|
[](https://github.com/code-yeongyu/oh-my-openagent/network/members)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/stargazers)
|
[](https://github.com/code-yeongyu/oh-my-openagent/stargazers)
|
||||||
|
|||||||
+1
-1
@@ -50,7 +50,7 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/releases)
|
[](https://github.com/code-yeongyu/oh-my-openagent/releases)
|
||||||
[](https://www.npmjs.com/package/oh-my-opencode)
|
[](https://www.npmjs.com/package/oh-my-opencode)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/graphs/contributors)
|
[](https://github.com/code-yeongyu/oh-my-openagent/graphs/contributors)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/network/members)
|
[](https://github.com/code-yeongyu/oh-my-openagent/network/members)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/stargazers)
|
[](https://github.com/code-yeongyu/oh-my-openagent/stargazers)
|
||||||
|
|||||||
+1
-1
@@ -50,7 +50,7 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/releases)
|
[](https://github.com/code-yeongyu/oh-my-openagent/releases)
|
||||||
[](https://www.npmjs.com/package/oh-my-opencode)
|
[](https://www.npmjs.com/package/oh-my-opencode)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/graphs/contributors)
|
[](https://github.com/code-yeongyu/oh-my-openagent/graphs/contributors)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/network/members)
|
[](https://github.com/code-yeongyu/oh-my-openagent/network/members)
|
||||||
[](https://github.com/code-yeongyu/oh-my-openagent/stargazers)
|
[](https://github.com/code-yeongyu/oh-my-openagent/stargazers)
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ The principles and philosophy behind oh-my-openagent (OmO).
|
|||||||
Project reality check:
|
Project reality check:
|
||||||
|
|
||||||
- Name: oh-my-openagent (renamed from oh-my-opencode; both npm packages still publish in tandem during the transition)
|
- Name: oh-my-openagent (renamed from oh-my-opencode; both npm packages still publish in tandem during the transition)
|
||||||
- Domain: https://ohmyopenagent.com (legacy https://ohmyopencode.org redirects 308)
|
- Domain: https://omo.dev (legacy https://ohmyopenagent.com, https://ohmyopencode.org, https://ulw.dev, https://ultrawork.ai, https://ultrawork.dev, https://ultrawork.engineer all 301 to omo.dev)
|
||||||
- Building in Public: https://discord.gg/PUwSMR9XNk
|
- Building in Public: https://discord.gg/PUwSMR9XNk
|
||||||
- Maintained by Jobdori, an AI assistant running on a heavily customized OpenClaw fork
|
- Maintained by Jobdori, an AI assistant running on a heavily customized OpenClaw fork
|
||||||
- Sisyphus Labs: https://sisyphuslabs.ai
|
- Sisyphus Labs: https://sisyphuslabs.ai
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { getStats } from "@/lib/stats"
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Shields.io endpoint badge for combined NPM downloads.
|
* Shields.io endpoint badge for combined NPM downloads.
|
||||||
* Usage: https://img.shields.io/endpoint?url=https://ohmyopenagent.com/api/npm-downloads
|
* Usage: https://img.shields.io/endpoint?url=https://omo.dev/api/npm-downloads
|
||||||
*
|
*
|
||||||
* Combines downloads from both oh-my-opencode and oh-my-openagent packages.
|
* Combines downloads from both oh-my-opencode and oh-my-openagent packages.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { GeistMono } from "geist/font/mono"
|
|||||||
import Script from "next/script"
|
import Script from "next/script"
|
||||||
import "./globals.css"
|
import "./globals.css"
|
||||||
|
|
||||||
const primarySiteUrl = "https://ohmyopenagent.com"
|
const primarySiteUrl = "https://omo.dev"
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
metadataBase: new URL(primarySiteUrl),
|
metadataBase: new URL(primarySiteUrl),
|
||||||
@@ -93,7 +93,7 @@ const jsonLd = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const gaMeasurementId = "G-S0QJFKT46Q"
|
const gaMeasurementId = "G-S0QJFKT46Q"
|
||||||
const gaTrackedDomain = "ohmyopenagent.com"
|
const gaTrackedDomain = "omo.dev"
|
||||||
|
|
||||||
export default function RootLayout({ children }: { readonly children: ReactNode }): JSX.Element {
|
export default function RootLayout({ children }: { readonly children: ReactNode }): JSX.Element {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ export default function robots(): MetadataRoute.Robots {
|
|||||||
userAgent: "*",
|
userAgent: "*",
|
||||||
allow: "/",
|
allow: "/",
|
||||||
},
|
},
|
||||||
sitemap: "https://ohmyopenagent.com/sitemap.xml",
|
sitemap: "https://omo.dev/sitemap.xml",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { MetadataRoute } from "next"
|
import type { MetadataRoute } from "next"
|
||||||
|
|
||||||
const BASE_URL = "https://ohmyopenagent.com"
|
const BASE_URL = "https://omo.dev"
|
||||||
|
|
||||||
export default function sitemap(): MetadataRoute.Sitemap {
|
export default function sitemap(): MetadataRoute.Sitemap {
|
||||||
const routes = ["", "/docs", "/manifesto"]
|
const routes = ["", "/docs", "/manifesto"]
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import { locales, type Locale } from "./i18n/config"
|
|||||||
import { routing } from "./i18n/routing"
|
import { routing } from "./i18n/routing"
|
||||||
|
|
||||||
const handleI18nRouting = createMiddleware(routing)
|
const handleI18nRouting = createMiddleware(routing)
|
||||||
const oldHosts = new Set(["ohmyopencode.org", "www.ohmyopencode.org"])
|
const oldHosts = new Set(["www.omo.dev"])
|
||||||
const primaryHost = "ohmyopenagent.com"
|
const primaryHost = "omo.dev"
|
||||||
const installationPaths = new Set([
|
const installationPaths = new Set([
|
||||||
"installation",
|
"installation",
|
||||||
"installation.md",
|
"installation.md",
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ directory = ".open-next/assets"
|
|||||||
binding = "ASSETS"
|
binding = "ASSETS"
|
||||||
|
|
||||||
[[routes]]
|
[[routes]]
|
||||||
pattern = "ohmyopenagent.com"
|
pattern = "omo.dev"
|
||||||
custom_domain = true
|
custom_domain = true
|
||||||
|
|
||||||
[[routes]]
|
[[routes]]
|
||||||
pattern = "ohmyopencode.org"
|
pattern = "www.omo.dev"
|
||||||
custom_domain = true
|
custom_domain = true
|
||||||
|
|||||||
Reference in New Issue
Block a user