import type { NextConfig } from "next"; const geoServerUrl = process.env.NEXT_PUBLIC_GEOSERVER_URL?.replace(/\/$/, "") ?? ""; const cnServerUrl = process.env.NEXT_PUBLIC_SERVER_API_URL?.replace(/\/$/, "") ?? ""; const nextConfig: NextConfig = { // basePath: "/sn", typescript: { ignoreBuildErrors: true, // 이 줄 추가 }, eslint: { ignoreDuringBuilds: true, }, // async rewrites() { // return [ // { // source: '/geoserver/:hasudo*', // destination: `${geoServerUrl}/:hasudo*`, // }, // { // source: '/attach-service/:path*', // destination: `${cnServerUrl}/attach-service/:path*`, // }, // ]; // }, }; export default nextConfig;