Open History to see the last commit
1import type { VercelConfig } from "@vercel/config/v1";
2
3export const config: VercelConfig = {
4 git: {
5 deploymentEnabled: false,
6 },
7 installCommand: "npm install -g vite-plus && vp install --filter '@t3tools/marketing...'",
8 buildCommand: "vp run --filter @t3tools/marketing build",
9 outputDirectory: "dist",
10 // One URL per page: `/download/` and `/download` both served 200 before, which splits ranking signals.
11 trailingSlash: false,
12 // curl | sh requires plain, uncompressed scripts with no cache across deploys.
13 headers: [
14 {
15 source: "/install.sh",
16 headers: [
17 { key: "Content-Type", value: "text/x-shellscript; charset=utf-8" },
18 { key: "Cache-Control", value: "public, max-age=300" },
19 ],
20 },
21 {
22 source: "/install.ps1",
23 headers: [
24 { key: "Content-Type", value: "text/plain; charset=utf-8" },
25 { key: "Cache-Control", value: "public, max-age=300" },
26 ],
27 },
28 ],
29 redirects: [
30 {
31 source: "/app",
32 destination: "https://app.t3.codes",
33 permanent: true,
34 },
35 ],
36};