mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
100 lines
2.8 KiB
JSON
100 lines
2.8 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": "/adapters/overview",
|
|
"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": "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" },
|
|
{ "type": "header", "key": ":path:", "value": "/" }
|
|
],
|
|
"destination": "https://authjs.dev/reference/adapters"
|
|
},
|
|
{
|
|
"source": "/:path(.*)",
|
|
"has": [{ "type": "host", "value": "adapters.authjs.dev" }],
|
|
"destination": "https://authjs.dev/reference/adapter/:path*"
|
|
},
|
|
{
|
|
"source": "/:path",
|
|
"has": [{ "type": "host", "value": "providers.authjs.dev" }],
|
|
"destination": "https://authjs.dev/reference/core/providers_:path.default"
|
|
}
|
|
]
|
|
}
|