Spaces:
Running
Running
File size: 444 Bytes
7d3eca5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
import type { NextConfig } from "next";
import Icons from 'unplugin-icons/webpack'
const nextConfig: NextConfig = {
webpack(config) {
config.plugins.push(
Icons({
compiler: 'jsx',
jsx: 'react',
})
);
return config;
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://127.0.0.1:8000/api/:path*',
},
]
},
};
export default nextConfig;
|