maps-service/web/next.config.ts
ic3w0lf 9bd3eb69f9
Some checks failed
continuous-integration/drone/push Build is failing
Huge mess
2024-12-18 22:12:15 -07:00

30 lines
664 B
TypeScript

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;