mirror of
https://github.com/excalidraw/excalidraw.git
synced 2026-11-20 21:23:22 +03:00
Vercel compiles redirect sources with strict path-to-regexp, so "/:path*" matches "/foo" but not "/". The root kept serving the old Docusaurus page. "/(.*)" matches the root as well. Opus 5.5 (xhigh)
73 lines
2.3 KiB
JSON
73 lines
2.3 KiB
JSON
{
|
|
"git": {
|
|
"deploymentEnabled": {
|
|
"master": true,
|
|
"**": false
|
|
}
|
|
},
|
|
"outputDirectory": "build",
|
|
"installCommand": "yarn install",
|
|
"redirects": [
|
|
{
|
|
"source": "/docs/introduction/development",
|
|
"destination": "https://plus.excalidraw.com/docs/sdk/development",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/docs/introduction/contributing",
|
|
"destination": "https://plus.excalidraw.com/docs/sdk/contributing",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/docs/codebase/:path*",
|
|
"destination": "https://plus.excalidraw.com/docs/sdk/codebase/:path*",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/docs/@excalidraw/excalidraw/API/:path*",
|
|
"destination": "https://plus.excalidraw.com/docs/sdk/excalidraw/api/:path*",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/docs/@excalidraw/excalidraw/:path*",
|
|
"destination": "https://plus.excalidraw.com/docs/sdk/excalidraw/:path*",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/docs/@excalidraw/mermaid-to-excalidraw/installation",
|
|
"destination": "https://plus.excalidraw.com/docs/mermaid-to-excalidraw/getting-started",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/docs/@excalidraw/mermaid-to-excalidraw/api",
|
|
"destination": "https://plus.excalidraw.com/docs/mermaid-to-excalidraw/api",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/docs/@excalidraw/mermaid-to-excalidraw/development",
|
|
"destination": "https://plus.excalidraw.com/docs/mermaid-to-excalidraw/development",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/docs/@excalidraw/mermaid-to-excalidraw/codebase/new-diagram-type",
|
|
"destination": "https://plus.excalidraw.com/docs/mermaid-to-excalidraw/adding-a-diagram-type",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/docs/@excalidraw/mermaid-to-excalidraw/codebase/:path*",
|
|
"destination": "https://plus.excalidraw.com/docs/mermaid-to-excalidraw/how-it-works",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/docs/@excalidraw/mermaid-to-excalidraw/:path*",
|
|
"destination": "https://plus.excalidraw.com/docs/mermaid-to-excalidraw",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/(.*)",
|
|
"destination": "https://plus.excalidraw.com/docs/sdk",
|
|
"permanent": true
|
|
}
|
|
]
|
|
}
|