maps-service/web/next.config.ts

30 lines
664 B
TypeScript
Raw Normal View History

2024-12-10 02:14:54 +00:00
import type { NextConfig } from "next";
2024-12-11 04:01:22 +00:00
const nextConfig: NextConfig = {
distDir: "build",
2024-12-12 22:06:30 +00:00
output: "standalone",
rewrites: async () => {
return [
{
2024-12-19 05:09:08 +00:00
source: "/api/:path*",
destination: "http://localhost:8082/v1/:path*",
// source: "/v1/submissions/:submissionid/status/:statustype",
// destination: "http://submissions:8082/v1/submissions/:submissionid/status/:statustype"
}
]
2024-12-19 05:09:08 +00:00
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'api.ic3.space',
pathname: '/strafe/map-images/**',
port: '',
search: '',
},
],
},
2024-12-11 04:01:22 +00:00
};
2024-12-10 02:14:54 +00:00
export default nextConfig;