From c58cd6b2729e0ab2ba975a0eb0afd29f6f61002b Mon Sep 17 00:00:00 2001 From: CloudLun Date: Thu, 22 Feb 2024 00:17:17 -0500 Subject: [PATCH] commented the env --- components/map/Map.tsx | 2 +- next.config.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/map/Map.tsx b/components/map/Map.tsx index be32555..0241313 100644 --- a/components/map/Map.tsx +++ b/components/map/Map.tsx @@ -29,7 +29,7 @@ const Map = () => { useEffect(() => { - mapboxgl.accessToken = process.env.NEXT_PUBLIC_MAPBOX_TOKEN as string + mapboxgl.accessToken = "pk.eyJ1IjoiYmV0YW55YyIsImEiOiJhdEk0RmZ3In0.z3ayA_ZWlFP7Co7h-T-6WQ" as string const m = new mapboxgl.Map({ container: mapContainer.current || "", diff --git a/next.config.js b/next.config.js index b9d9640..7b99e73 100644 --- a/next.config.js +++ b/next.config.js @@ -1,9 +1,9 @@ /** @type {import('next').NextConfig} */ const nextConfig = { output: "export", - env: { - BASE_URL: process.env.NEXT_PUBLIC_MAPBOX_API_KEY, - } + // env: { + // BASE_URL: process.env.NEXT_PUBLIC_MAPBOX_API_KEY, + // } }