maps-service/web/next.config.ts
ic3w0lf b0b16c91dc
All checks were successful
continuous-integration/drone/push Build is passing
compilable:)
2024-12-18 22:55:12 -07:00

28 lines
488 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*"
}
]
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'api.ic3.space',
pathname: '/strafe/map-images/**',
port: '',
search: '',
},
],
},
};
export default nextConfig;