remove frontend directory from git tracking
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {};
|
||||
|
||||
const apiTarget = process.env.BACKEND_API_ORIGIN ?? "http://127.0.0.1:8000";
|
||||
|
||||
nextConfig.rewrites = async () => [
|
||||
{
|
||||
source: "/backend/:path*",
|
||||
destination: `${apiTarget}/api/:path*`,
|
||||
},
|
||||
];
|
||||
|
||||
export default nextConfig;
|
||||
Reference in New Issue
Block a user