Branchwell

Textley / website / vercel.json

1{
2 "buildCommand": "bash tools/stage-installer.sh && node tools/indexnow.mjs sitemap.xml . --lastmod && rm tools/indexnow.mjs",
3 "outputDirectory": ".",
4 "cleanUrls": true,
5 "trailingSlash": true,
6 "headers": [
7 {
8 "source": "/mcp-skills/textley-mcp.md",
9 "headers": [
10 {
11 "key": "Content-Type",
12 "value": "text/plain; charset=utf-8"
13 },
14 {
15 "key": "Content-Disposition",
16 "value": "inline"
17 }
18 ]
19 },
20 {
21 "source": "/downloads/(.*)",
22 "headers": [
23 {
24 "key": "Content-Disposition",
25 "value": "attachment"
26 },
27 {
28 "key": "Content-Type",
29 "value": "application/x-apple-diskimage"
30 }
31 ]
32 },
33 {
34 "source": "/:feed(appcast\\.xml|appcast-legacy\\.xml)",
35 "headers": [
36 {
37 "key": "Content-Type",
38 "value": "application/rss+xml; charset=utf-8"
39 },
40 {
41 "key": "Cache-Control",
42 "value": "no-store"
43 },
44 {
45 "key": "Vary",
46 "value": "User-Agent"
47 }
48 ]
49 },
50 {
51 "source": "/(.*)",
52 "headers": [
53 {
54 "key": "Referrer-Policy",
55 "value": "strict-origin-when-cross-origin"
56 },
57 {
58 "key": "X-Content-Type-Options",
59 "value": "nosniff"
60 },
61 {
62 "key": "Content-Security-Policy",
63 "value": "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; font-src 'self'; connect-src 'self' https://projectatom.ai; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; form-action 'none'"
64 }
65 ]
66 }
67 ],
68 "redirects": [
69 {
70 "source": "/appcast.xml",
71 "has": [
72 {
73 "type": "header",
74 "key": "user-agent",
75 "value": "Textley/1\\.0\\.[456] Sparkle/.*"
76 }
77 ],
78 "destination": "/appcast-legacy.xml",
79 "permanent": false
80 },
81 {
82 "source": "/support/",
83 "destination": "/help/",
84 "permanent": true
85 },
86 {
87 "source": "/downloads",
88 "destination": "/download/",
89 "permanent": false
90 },
91 {
92 "source": "/downloads/",
93 "destination": "/download/",
94 "permanent": false
95 }
96 ]
97}