mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 13:17:00 +04:00
43 lines
1.3 KiB
JSON
43 lines
1.3 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" }
|
|
]
|
|
}
|
|
]
|
|
}
|