Capital/next.config.mjs

24 lines
519 B
JavaScript
Raw Normal View History

2024-02-24 09:33:35 +00:00
/** @type {import("next").NextConfig} */
const nextConfig = {
pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"],
images: {
remotePatterns: [
{
protocol: "https",
2024-02-24 13:56:35 +00:00
hostname: "**",
},
],
2024-02-24 10:54:47 +00:00
},
async rewrites() {
return [
{ source: "/rss", destination: "/feed" },
{ source: "/rss.xml", destination: "/feed.xml" },
{ source: "/feed.xml", destination: "/feed" },
2024-02-24 13:56:35 +00:00
{ source: "/p/:id", destination: "/posts/:id" },
2024-02-24 10:54:47 +00:00
];
2024-02-24 13:56:35 +00:00
},
2024-02-24 09:33:35 +00:00
};
2024-02-24 06:16:57 +00:00
export default nextConfig;