diff --git a/apps/docs/vercel.json b/apps/docs/vercel.json index f4bacec..74ade8a 100644 --- a/apps/docs/vercel.json +++ b/apps/docs/vercel.json @@ -1,8 +1,8 @@ { "$schema": "https://openapi.vercel.sh/vercel.json", - "rewrites": [ - { "source": "/docs", "destination": "/" }, - { "source": "/docs/", "destination": "/" }, - { "source": "/docs/:path(.*)", "destination": "/:path" } - ] + "framework": null, + "buildCommand": "npm run build && rm -rf .static && mkdir -p .static/docs && cp -R out/. .static/docs/", + "outputDirectory": ".static", + "trailingSlash": true, + "redirects": [{ "source": "/", "destination": "/docs/", "permanent": false }] }