20 lines
476 B
TypeScript
20 lines
476 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
// async rewrites() {
|
|
// return [
|
|
// {
|
|
// source: '/api-backend/:path*',
|
|
// destination: `http://web_api:3005`, // The external api URL
|
|
// },
|
|
// ];
|
|
// },
|
|
outputFileTracingIncludes: {
|
|
'/api/**/*': ['./node_modules/jose/**/*'],
|
|
},
|
|
allowedDevOrigins: [`${process.env.BE_API_SERVER_HOST}:${process.env.BE_API_SERVER_PORT}`]
|
|
};
|
|
|
|
export default nextConfig;
|
|
|