We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 267e245 commit 5f493e3Copy full SHA for 5f493e3
1 file changed
next.config.ts
@@ -55,6 +55,12 @@ const nextConfig: NextConfig = {
55
destination: "/embed",
56
permanent: true,
57
},
58
+ // Redirect book PDF downloads to GitHub raw to save Vercel edge bandwidth
59
+ {
60
+ source: "/book-pdf/:filename",
61
+ destination: "https://raw.githubusercontent.com/f/prompts.chat/refs/heads/main/public/book-pdf/:filename",
62
+ permanent: false,
63
+ },
64
];
65
66
};
0 commit comments