2024-12-09 21:14:54 -05:00
|
|
|
import type { NextConfig } from "next";
|
|
|
|
|
2024-12-10 23:01:22 -05:00
|
|
|
const nextConfig: NextConfig = {
|
2024-12-12 13:18:12 -05:00
|
|
|
distDir: "build",
|
2024-12-12 17:06:30 -05:00
|
|
|
output: "standalone",
|
2024-12-12 13:18:12 -05:00
|
|
|
rewrites: async () => {
|
|
|
|
return [
|
|
|
|
{
|
2024-12-18 22:09:08 -07:00
|
|
|
source: "/api/:path*",
|
2024-12-18 22:55:12 -07:00
|
|
|
destination: "http://localhost:8082/v1/:path*"
|
2024-12-12 13:18:12 -05:00
|
|
|
}
|
|
|
|
]
|
2024-12-18 22:09:08 -07:00
|
|
|
},
|
|
|
|
images: {
|
|
|
|
remotePatterns: [
|
|
|
|
{
|
|
|
|
protocol: 'https',
|
|
|
|
hostname: 'api.ic3.space',
|
|
|
|
pathname: '/strafe/map-images/**',
|
|
|
|
port: '',
|
|
|
|
search: '',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2024-12-10 23:01:22 -05:00
|
|
|
};
|
2024-12-09 21:14:54 -05:00
|
|
|
|
|
|
|
export default nextConfig;
|