Capital/next.config.mjs

24 lines
514 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 10:54:47 +00:00
hostname: "**"
}
]
},
async rewrites() {
return [
{ source: "/rss", destination: "/feed" },
{ source: "/rss.xml", destination: "/feed.xml" },
{ source: "/feed.xml", destination: "/feed" },
{ source: "/p/:id", destination: "/posts/:id" }
];
2024-02-24 09:33:35 +00:00
}
};
2024-02-24 06:16:57 +00:00
export default nextConfig;