mirror of
https://github.com/vercel-labs/agent-browser.git
synced 2026-11-25 20:26:37 +08:00
* feat(docs): make the docs site the default microfrontends app Adds microfrontends.json so agent-desktop serves /desktop and /docs/desktop on agent-browser.dev, using path routing with no middleware changes. Wraps next.config.mjs with withMicrofrontends and lists agent-desktop's sitemap in robots.txt. Merge only after the vercel-labs microfrontends group with agent-browser (default) and agent-desktop exists. * fix(docs): build the desktop sitemap URL from siteUrl
14 lines
359 B
JSON
14 lines
359 B
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/microfrontends.json",
|
|
"applications": {
|
|
"agent-browser": {
|
|
"packageName": "docs",
|
|
"development": { "fallback": "https://agent-browser.dev" }
|
|
},
|
|
"agent-desktop": {
|
|
"development": { "local": 3001 },
|
|
"routing": [{ "paths": ["/desktop/:path*", "/docs/desktop/:path*"] }]
|
|
}
|
|
}
|
|
}
|