18 lines
325 B
JavaScript
18 lines
325 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/backend/:path*',
|
|
destination: `http://192.168.50.107:5580/:path*`,
|
|
},
|
|
{
|
|
source: '/strapi/:path*',
|
|
destination: `http://192.168.50.107:1337/:path*`,
|
|
}
|
|
]
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|