-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathvercel.json
More file actions
24 lines (24 loc) · 1003 Bytes
/
Copy pathvercel.json
File metadata and controls
24 lines (24 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"buildCommand": "npm run build",
"outputDirectory": "dist",
"framework": "vite",
"routes": [
{ "src": "/robots\\.txt", "dest": "/api/robots" },
{ "src": "/sitemap\\.xml", "dest": "/api/sitemap" },
{ "src": "/llms\\.txt", "dest": "/api/llms" },
{ "src": "/llms-full\\.txt", "dest": "/api/llms?variant=full" },
{
"src": "^/(?!api/)(?!assets/)(?!.*\\.[a-zA-Z0-9]{2,5}$)(.*)$",
"has": [
{
"type": "header",
"key": "user-agent",
"value": ".*(facebookexternalhit|Facebot|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|TelegramBot|Pinterest|redditbot|vkShare|Embedly|Iframely|SkypeUriPreview|GPTBot|ChatGPT-User|OAI-SearchBot|ClaudeBot|Claude-User|Claude-SearchBot|anthropic-ai|PerplexityBot|Perplexity-User|Meta-ExternalAgent|Amazonbot|DuckAssistBot|YouBot|cohere-ai|MistralAI).*"
}
],
"dest": "/api/og?path=/$1"
},
{ "handle": "filesystem" },
{ "src": "/(.*)", "dest": "/index.html" }
]
}