mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-11 12:51:15 +02:00
35 lines
1,006 B
TypeScript
35 lines
1,006 B
TypeScript
import type { VercelConfig } from "@vercel/config/v1";
|
|
|
|
export const config: VercelConfig = {
|
|
git: {
|
|
deploymentEnabled: false,
|
|
},
|
|
installCommand: "npm install -g vite-plus && vp install --filter '@t3tools/marketing...'",
|
|
buildCommand: "vp run --filter @t3tools/marketing build",
|
|
outputDirectory: "dist",
|
|
// `curl … | sh` needs the scripts served as plain text, uncompressed by
|
|
// content negotiation, and never cached past a deploy.
|
|
headers: [
|
|
{
|
|
source: "/install.sh",
|
|
headers: [
|
|
{ key: "Content-Type", value: "text/x-shellscript; charset=utf-8" },
|
|
{ key: "Cache-Control", value: "public, max-age=300" },
|
|
],
|
|
},
|
|
{
|
|
source: "/install.ps1",
|
|
headers: [
|
|
{ key: "Content-Type", value: "text/plain; charset=utf-8" },
|
|
{ key: "Cache-Control", value: "public, max-age=300" },
|
|
],
|
|
},
|
|
],
|
|
redirects: [
|
|
{
|
|
source: "/app",
|
|
destination: "https://app.t3.codes",
|
|
permanent: true,
|
|
},
|
|
],
|
|
};
|