Files
next-web/next.config.ts
T

20 lines
476 B
TypeScript
Raw Normal View History

2025-06-25 16:45:58 -04:00
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
2026-07-23 10:38:20 -04:00
// 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}`]
2025-06-25 16:45:58 -04:00
};
export default nextConfig;
2026-07-23 10:38:20 -04:00