Files
next-web/next.config.ts
2026-07-23 10:38:20 -04:00

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;