This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new 832bffb7f [#5212] improvement(web): Opt out of Next.js usage telemetry 
(#5219)
832bffb7f is described below

commit 832bffb7f2dc5a204d6aa1893711bf0d74847670
Author: Qian Xia <[email protected]>
AuthorDate: Tue Oct 22 17:33:50 2024 +0800

    [#5212] improvement(web): Opt out of Next.js usage telemetry (#5219)
    
    ### What changes were proposed in this pull request?
    Opt out of Next.js usage telemetry
    
    ### Why are the changes needed?
    this is not in line with the ASF privacy policy
    
    Fix: #5212
    
    ### Does this PR introduce _any_ user-facing change?
    N/A
    
    ### How was this patch tested?
    N/A
---
 web/web/.env         | 1 +
 web/web/.env.analyze | 1 +
 web/web/.env.static  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/web/web/.env b/web/web/.env
index e04e1b455..e3900338d 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 f552a5c6d..6f1d95be8 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 07b87d32d..3e4e094bb 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

Reply via email to