import type { NextConfig } from "next"; import { withSentryConfig } from "@sentry/nextjs"; const nextConfig: NextConfig = { turbopack: { root: __dirname, }, async rewrites() { return [ { source: "/api/:path*", destination: "http://backend:8000/:path*", }, ]; }, images: { remotePatterns: [ { protocol: "https", hostname: "artifactsmmo.com", pathname: "/images/**", }, ], }, }; export default withSentryConfig(nextConfig, { silent: true, disableLogger: true, });