Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Waiting to run
Deploy to Cloudflare Pages / deploy (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

63 lines
1.3 KiB
JSON

{
"buildCommand": "npm run build",
"outputDirectory": "docs",
"headers": [
{
"source": "/components.json",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{ "key": "Access-Control-Allow-Methods", "value": "GET" }
]
},
{
"source": "/trending-data.json",
"headers": [
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{ "key": "Access-Control-Allow-Methods", "value": "GET" }
]
}
],
"rewrites": [
{
"source": "/",
"destination": "/index.html"
},
{
"source": "/agents",
"destination": "/index.html"
},
{
"source": "/commands",
"destination": "/index.html"
},
{
"source": "/settings",
"destination": "/index.html"
},
{
"source": "/hooks",
"destination": "/index.html"
},
{
"source": "/mcps",
"destination": "/index.html"
},
{
"source": "/templates",
"destination": "/index.html"
},
{
"source": "/plugins",
"destination": "/index.html"
},
{
"source": "/plugin/:name",
"destination": "/plugin.html"
},
{
"source": "/component/:type/:name*",
"destination": "/component.html"
}
]
}