From 69639a231e459a94179c46bf512b262890d3c2ee Mon Sep 17 00:00:00 2001 From: Hanbyul Jo Date: Mon, 16 Dec 2024 15:15:21 -0500 Subject: [PATCH] Separate public dotenv and local dotenv --- .env | 2 ++ .env.local => .env.local-sample | 2 +- .gitignore | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .env rename .env.local => .env.local-sample (82%) diff --git a/.env b/.env new file mode 100644 index 0000000..b7e7fd1 --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +NEXT_PUBLIC_API_STAC_ENDPOINT='https://openveda.cloud/api/stac' +NEXT_PUBLIC_API_RASTER_ENDPOINT='https://openveda.cloud/api/raster' \ No newline at end of file diff --git a/.env.local b/.env.local-sample similarity index 82% rename from .env.local rename to .env.local-sample index eb29cfb..9c9c1b6 100644 --- a/.env.local +++ b/.env.local-sample @@ -1,6 +1,6 @@ # Get your public token from Mapbox dashboard # Then copy this file, name it as .env.local -NEXT_PUBLIC_MAPBOX_TOKEN='your-mapbox-token-here' +NEXT_PUBLIC_MAPBOX_TOKEN='' # Google Tag Manager tracking code # Not required unless you are actively developing diff --git a/.gitignore b/.gitignore index 4c2dc9c..62b8a4d 100644 --- a/.gitignore +++ b/.gitignore @@ -28,7 +28,7 @@ yarn-error.log* .pnpm-debug.log* # env files -.env +.env.local # vercel .vercel