mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 21:27:06 +04:00
47 lines
1.5 KiB
JSON
47 lines
1.5 KiB
JSON
{
|
|
"trailingSlash": false,
|
|
"headers": [
|
|
{
|
|
"source": "/_astro/(.*)",
|
|
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }]
|
|
},
|
|
{
|
|
"source": "/(dist|preview|img|static|css|js)/(.*)",
|
|
"headers": [{ "key": "Cache-Control", "value": "public, max-age=3600, stale-while-revalidate=86400" }]
|
|
},
|
|
{
|
|
"source": "/.well-known/(.*)",
|
|
"headers": [
|
|
{ "key": "Access-Control-Allow-Origin", "value": "*" },
|
|
{ "key": "Cache-Control", "value": "public, max-age=3600, stale-while-revalidate=86400" }
|
|
]
|
|
},
|
|
{
|
|
"source": "/(llms|llms-full)\\.txt",
|
|
"headers": [{ "key": "Cache-Control", "value": "public, max-age=3600, stale-while-revalidate=86400" }]
|
|
},
|
|
{
|
|
"source": "/:path([^.]+)\\.md",
|
|
"headers": [{ "key": "Cache-Control", "value": "public, max-age=3600, stale-while-revalidate=86400" }]
|
|
},
|
|
{
|
|
"source": "/:path((?!index$)[^.]+)\\.md",
|
|
"headers": [
|
|
{ "key": "Link", "value": "</:path>; rel=\"alternate\"; type=\"text/html\"" },
|
|
{ "key": "Vary", "value": "Accept" }
|
|
]
|
|
},
|
|
{
|
|
"source": "/index.md",
|
|
"headers": [
|
|
{ "key": "Link", "value": "</>; rel=\"alternate\"; type=\"text/html\"" },
|
|
{ "key": "Vary", "value": "Accept" }
|
|
]
|
|
}
|
|
],
|
|
"rewrites": [
|
|
{ "source": "/eat/static/:path(.*)", "destination": "https://eu-assets.i.posthog.com/static/:path*" },
|
|
{ "source": "/eat/:path(.*)", "destination": "https://eu.i.posthog.com/:path*" }
|
|
]
|
|
}
|