Skip to content

Commit

Permalink
/ai rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
Jpoliachik committed Oct 27, 2024
1 parent 2b12a50 commit a1a32e7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
/** @type {import('next').NextConfig} */
const nextConfig = {
webpack(config) {
config.module.rules.push({
test: /\.svg$/i,
Expand All @@ -9,4 +10,14 @@ module.exports = {
return config;
},
trailingSlash: true,
async rewrites() {
return [
{
source: '/ai',
destination: '/posts/2024-ai-manifesto',
},
];
},
};

module.exports = nextConfig;

0 comments on commit a1a32e7

Please sign in to comment.