2024-12-10 02:14:54 +00:00
|
|
|
import type { NextConfig } from "next";
|
|
|
|
|
2024-12-11 04:01:22 +00:00
|
|
|
const nextConfig: NextConfig = {
|
2024-12-12 18:18:12 +00:00
|
|
|
distDir: "build",
|
|
|
|
rewrites: async () => {
|
|
|
|
return [
|
|
|
|
{
|
|
|
|
source: "/v1/submissions/1/status/:statustype",
|
|
|
|
destination: "http://localhost:8081/v1/submissions/:statustype"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2024-12-11 04:01:22 +00:00
|
|
|
};
|
2024-12-10 02:14:54 +00:00
|
|
|
|
|
|
|
export default nextConfig;
|