diff --git a/apps/marketing/astro.config.mjs b/apps/marketing/astro.config.mjs index c51109da2..80f63d652 100644 --- a/apps/marketing/astro.config.mjs +++ b/apps/marketing/astro.config.mjs @@ -4,6 +4,17 @@ import tailwindcss from "@tailwindcss/vite"; export default defineConfig({ integrations: [react()], + redirects: { + "/discord": { + status: 302, + destination: + "https://discord.com/channels/1256822430505373696/1481682824196128822", + }, + "/docs": { + status: 302, + destination: "https://docs.fabro.sh", + }, + }, vite: { plugins: [tailwindcss()], }, diff --git a/apps/marketing/public/install.sh b/apps/marketing/public/install.sh new file mode 120000 index 000000000..1d7ea8003 --- /dev/null +++ b/apps/marketing/public/install.sh @@ -0,0 +1 @@ +../../../install.sh \ No newline at end of file diff --git a/apps/marketing/vercel.json b/apps/marketing/vercel.json new file mode 100644 index 000000000..99d455082 --- /dev/null +++ b/apps/marketing/vercel.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://openapi.vercel.sh/vercel.json", + "redirects": [ + { + "source": "/discord", + "destination": "https://discord.com/channels/1256822430505373696/1481682824196128822", + "statusCode": 302 + }, + { + "source": "/docs", + "destination": "https://docs.fabro.sh", + "statusCode": 302 + } + ] +}