mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-10-12 12:39:52 +08:00
- app/[lang]/about/page.tsx renders en, zh and ja (zh-Hant falls back
to zh) from one JSX tree with per-language texts and generateMetadata;
delete the cn/ and ja/ copies and redirect their old URLs
- app/[lang]/layout.tsx: use hasLocale, an OG locale table, and real
zh/ja title and description
- components/icons/github.tsx replaces react-icons and lucide's
deprecated Github icon
- quota-limit-toast: read the dictionary keys directly, shadow-float
- Cloudflare: defineCloudflareConfig({}) without R2, no r2_buckets, no
dev-time OpenNext init, cf-typegen script removed,
@opennextjs/cloudflare moves to devDependencies, docs updated
18 lines
534 B
JSON
18 lines
534 B
JSON
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"main": ".open-next/worker.js",
|
|
"name": "next-ai-draw-io-worker",
|
|
"compatibility_date": "2025-12-08", // must be a today or past compatibility_date
|
|
"compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"],
|
|
"assets": {
|
|
"directory": ".open-next/assets",
|
|
"binding": "ASSETS"
|
|
},
|
|
"services": [
|
|
{
|
|
"binding": "WORKER_SELF_REFERENCE",
|
|
"service": "next-ai-draw-io-worker"
|
|
}
|
|
]
|
|
}
|