diff --git a/i18n/en-US/examples/how-to-deploy-to-vercel.md b/i18n/en-US/examples/how-to-deploy-to-vercel.md index 7f0c2091..894b686c 100644 --- a/i18n/en-US/examples/how-to-deploy-to-vercel.md +++ b/i18n/en-US/examples/how-to-deploy-to-vercel.md @@ -15,19 +15,17 @@ Add the following `vercel.json` to the root folder in order to redirect all requ ```json { + "$schema": "https://openapi.vercel.sh/vercel.json", "version": 2, "functions": { "api/nullstack.js": { "includeFiles": ".production/**" } }, - "routes": [ + "rewrites": [ { - "handle": "filesystem" - }, - { - "src": "(.*)", - "dest": "api/nullstack.js" + "source": "(.*)", + "destination": "api/nullstack.js" } ] } diff --git a/i18n/pt-BR/articles/como-fazer-deploy-vercel.md b/i18n/pt-BR/articles/como-fazer-deploy-vercel.md index f973ebd6..3a5bae62 100644 --- a/i18n/pt-BR/articles/como-fazer-deploy-vercel.md +++ b/i18n/pt-BR/articles/como-fazer-deploy-vercel.md @@ -15,19 +15,17 @@ Adicione a seguinte configuração no `vercel.json` na raiz da sua aplicação p ```json { + "$schema": "https://openapi.vercel.sh/vercel.json", "version": 2, "functions": { "api/nullstack.js": { "includeFiles": ".production/**" } }, - "routes": [ + "rewrites": [ { - "handle": "filesystem" - }, - { - "src": "(.*)", - "dest": "api/nullstack.js" + "source": "(.*)", + "destination": "api/nullstack.js" } ] } diff --git a/i18n/pt-BR/examples/como-fazer-deploy-vercel.md b/i18n/pt-BR/examples/como-fazer-deploy-vercel.md index 8fbaf960..4c6eae46 100644 --- a/i18n/pt-BR/examples/como-fazer-deploy-vercel.md +++ b/i18n/pt-BR/examples/como-fazer-deploy-vercel.md @@ -15,19 +15,17 @@ Adicione a seguinte configuração no `vercel.json` na raiz da sua aplicação p ```json { + "$schema": "https://openapi.vercel.sh/vercel.json", "version": 2, "functions": { "api/nullstack.js": { "includeFiles": ".production/**" } }, - "routes": [ + "rewrites": [ { - "handle": "filesystem" - }, - { - "src": "(.*)", - "dest": "api/nullstack.js" + "source": "(.*)", + "destination": "api/nullstack.js" } ] }