Files
archived-next-auth/docs/vercel.json
Balázs Orbán 0909f7185a docs: cleanup getting started guides (#8927)
* fix gitignore

* auto-generate providers docs, move pages around, rewrite some docs

* move deployment to getting started

* remove sidebar position configs

* simplify landing page code examples

* add framework logos

* add cards of frameworks on getting started intro

* reword adapters and deployments docs

* update typescript guide
2023-10-24 01:53:00 +01:00

117 lines
3.4 KiB
JSON

{
"$schema": "https://openapi.vercel.sh/vercel.json",
"cleanUrls": true,
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "X-Frame-Options", "value": "DENY" },
{ "key": "X-XSS-Protection", "value": "1; mode=block" }
]
}
],
"redirects": [
{
"source": "/schemas/models",
"destination": "/adapters/models",
"permanent": true
},
{
"source": "/schemas/mysql",
"destination": "/adapters/typeorm/mysql",
"permanent": true
},
{
"source": "/schemas/postgres",
"destination": "/adapters/typeorm/postgres",
"permanent": true
},
{
"source": "/schemas/mssql",
"destination": "/adapters/typeorm/mssql",
"permanent": true
},
{
"source": "/schemas/mongodb",
"destination": "/adapters/typeorm/mongodb",
"permanent": true
},
{
"source": "/schemas/adapters",
"destination": "/getting-started/adapters",
"permanent": true
},
{
"source": "/new/provider-issue",
"destination": "https://github.com/nextauthjs/next-auth/issues/new?assignees=&labels=triage%2Cproviders&template=2_bug_provider.yml",
"permanent": true
},
{
"source": "/new/github-discussions",
"destination": "https://github.com/nextauthjs/next-auth/discussions/categories/questions",
"permanent": true
},
{
"source": "/reference/solid-start/:path*",
"destination": "/reference/solidstart/:path*",
"permanent": true
},
{
"source": "/",
"has": [{ "type": "host", "value": "sveltekit.authjs.dev" }],
"destination": "https://authjs.dev/reference/sveltekit"
},
{
"source": "/",
"has": [{ "type": "host", "value": "solid-start.authjs.dev" }],
"destination": "https://authjs.dev/reference/solid-start"
},
{
"source": "/:path(.*)",
"has": [{ "type": "host", "value": "nextjs.authjs.dev" }],
"destination": "https://authjs.dev/reference/nextjs"
},
{
"source": "/v5",
"has": [{ "type": "host", "value": "nextjs.authjs.dev" }],
"destination": "https://authjs.dev/guides/upgrade-to-v5"
},
{
"source": "/:path(.*)",
"has": [{ "type": "host", "value": "errors.authjs.dev" }],
"destination": "https://authjs.dev/reference/core/errors/:path*"
},
{
"source": "/:path(.*)",
"has": [{ "type": "host", "value": "warnings.authjs.dev" }],
"destination": "https://authjs.dev/reference/warnings/:path*"
},
{
"source": "/",
"has": [{ "type": "host", "value": "adapters.authjs.dev" }],
"destination": "https://authjs.dev/getting-started/adapters"
},
{
"source": "/:path(.*)",
"has": [{ "type": "host", "value": "adapters.authjs.dev" }],
"destination": "https://authjs.dev/reference/adapter/:path*"
},
{
"source": "/",
"has": [{ "type": "host", "value": "providers.authjs.dev" }],
"destination": "https://authjs.dev/getting-started/providers"
},
{
"source": "/:path(.*)",
"has": [{ "type": "host", "value": "providers.authjs.dev" }],
"destination": "https://authjs.dev/reference/core/providers_:path"
},
{
"source": "/getting-started/upgrade-to-v4",
"destination": "https://next-auth.js.org/getting-started/upgrade-v4",
"permanent": true
}
]
}