Skip to content

Open source CapCut alternative.

TypeScript

feat(chatgpt): the card's title link lands in the app

David Le1b1dc1c34da3
diff --git a/site/next.config.ts b/site/next.config.ts
index f9f197e3..ae9d501b 100644
--- a/site/next.config.ts
+++ b/site/next.config.ts
@@ -35,6 +35,15 @@ const nextConfig: NextConfig = {
// Build assets are fetched by search crawlers to render pages, which puts
// every chunk, stylesheet and font in Search Console as a candidate page.
// The header lets them be fetched and keeps them out of the index.
+ // ChatGPT links the card's title to the widget domain; that lands in the app.
+ redirects: async () => [
+ {
+ source: "/:path*",
+ has: [{ type: "host", value: "chatgpt.donkeycut.com" }],
+ destination: "https://donkeycut.com/app",
+ permanent: false,
+ },
+ ],
headers: async () => [
{
source: "/clients/chatgpt/:path*",