import type { NextConfig } from "next"; const nextConfig: NextConfig = { distDir: "build", output: "standalone", rewrites: async () => { return [ { source: "/api/:path*", destination: "http://localhost:8082/v1/:path*", // source: "/v1/submissions/:submissionid/status/:statustype", // destination: "http://submissions:8082/v1/submissions/:submissionid/status/:statustype" } ] }, images: { remotePatterns: [ { protocol: 'https', hostname: 'api.ic3.space', pathname: '/strafe/map-images/**', port: '', search: '', }, ], }, }; export default nextConfig;