Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#5212] improvement(web): Opt out of Next.js usage telemetry (#5219)

Qian Xia832bffb7f2dc
diff --git a/web/web/.env b/web/web/.env
index e04e1b4556..e3900338da 100644
--- a/web/web/.env
+++ b/web/web/.env
@@ -18,6 +18,7 @@
#
OUTPUT_MODE=standalone
+NEXT_TELEMETRY_DISABLED=1
# Development ENV
NEXT_PUBLIC_BASE_PATH=''
NEXT_PUBLIC_API_URL=http://localhost:8090
diff --git a/web/web/.env.analyze b/web/web/.env.analyze
index f552a5c6d5..6f1d95be81 100644
--- a/web/web/.env.analyze
+++ b/web/web/.env.analyze
@@ -19,6 +19,7 @@
ANALYZE=true
OUTPUT_MODE=export
+NEXT_TELEMETRY_DISABLED=1
# Development ENV
NEXT_PUBLIC_API_URL=http://localhost:8090
NEXT_PUBLIC_OAUTH_URI=http://localhost:9000
diff --git a/web/web/.env.static b/web/web/.env.static
index 07b87d32d3..3e4e094bb3 100644
--- a/web/web/.env.static
+++ b/web/web/.env.static
@@ -20,6 +20,7 @@
OUTPUT_MODE=export
DIST_DIR=dist/ui
BASE_PATH=/ui
+NEXT_TELEMETRY_DISABLED=1
# Development ENV
NEXT_PUBLIC_BASE_PATH=/ui
NEXT_PUBLIC_API_URL=http://localhost:8090