diff --git a/apps/sn/next.config.ts b/apps/sn/next.config.ts index a75e70e85..789da58b4 100644 --- a/apps/sn/next.config.ts +++ b/apps/sn/next.config.ts @@ -1,10 +1,5 @@ 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 = { output: "standalone", typescript: { @@ -13,18 +8,6 @@ const nextConfig: NextConfig = { eslint: { ignoreDuringBuilds: true, }, - // async rewrites() { - // return [ - // { - // source: '/geoserver/:hasudo*', - // destination: `${geoServerUrl}/:hasudo*`, - // }, - // { - // source: '/attach-service/:path*', - // destination: `${cnServerUrl}/attach-service/:path*`, - // }, - // ]; - // }, }; export default nextConfig;