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",
|
2024-12-12 22:06:30 +00:00
|
|
|
output: "standalone",
|
2024-12-12 18:18:12 +00:00
|
|
|
rewrites: async () => {
|
|
|
|
return [
|
|
|
|
{
|
2024-12-14 04:28:29 +00:00
|
|
|
source: "/v1/submissions/:submissionid/status/:statustype",
|
|
|
|
destination: "http://mapsservice:8082/v1/submissions/:submissionid/status/:statustype"
|
2024-12-12 18:18:12 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2024-12-11 04:01:22 +00:00
|
|
|
};
|
2024-12-10 02:14:54 +00:00
|
|
|
|
|
|
|
export default nextConfig;
|