Its been a while
This commit is contained in:
+13
-1
@@ -1,7 +1,19 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
// 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user