From 475a09298d3d16073839441946177de2ea1fbdd5 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Wed, 22 Oct 2025 18:46:04 +0800 Subject: [PATCH] remove url --- .env | 3 +-- .env.production | 3 +-- .env.staging | 1 - src/rsbuild-env.d.ts | 1 - 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.env b/.env index 6da22fa..99e2b58 100644 --- a/.env +++ b/.env @@ -1,4 +1,3 @@ PUBLIC_JUDGE0API_URL=https://judge0api.xuyue.cc PUBLIC_MAXKB_URL=https://maxkb.xuyue.cc/chat/api/embed?protocol=https&host=maxkb.xuyue.cc&token=2e801f7d6efdcc99 -PUBLIC_CODEAPI_URL=http://localhost:8080 -PUBLIC_PYVIZ_URL=https://pyviz.xuyue.cc \ No newline at end of file +PUBLIC_CODEAPI_URL=http://localhost:8080 \ No newline at end of file diff --git a/.env.production b/.env.production index 9bb1551..c2d1baa 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,3 @@ PUBLIC_JUDGE0API_URL=https://judge0api.xuyue.cc PUBLIC_MAXKB_URL=https://maxkb.xuyue.cc/chat/api/embed?protocol=https&host=maxkb.xuyue.cc&token=2e801f7d6efdcc99 -PUBLIC_CODEAPI_URL=https://code.xuyue.cc/api -PUBLIC_PYVIZ_URL=https://pyviz.xuyue.cc \ No newline at end of file +PUBLIC_CODEAPI_URL=https://code.xuyue.cc/api \ No newline at end of file diff --git a/.env.staging b/.env.staging index 620c2a9..9e1fef4 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,4 @@ PUBLIC_JUDGE0API_URL=http://10.13.114.114:8082 PUBLIC_MAXKB_URL=http://10.13.114.114:92/chat/api/embed?protocol=http&host=10.13.114.114:92&token=dd37457027c40b39 PUBLIC_CODEAPI_URL=http://10.13.114.114:82/api -PUBLIC_PYVIZ_URL=http://10.13.114.114:9000 PUBLIC_ICONIFY_URL=http://10.13.114.114:8098 \ No newline at end of file diff --git a/src/rsbuild-env.d.ts b/src/rsbuild-env.d.ts index 0e81124..cf17709 100644 --- a/src/rsbuild-env.d.ts +++ b/src/rsbuild-env.d.ts @@ -2,7 +2,6 @@ interface ImportMetaEnv { readonly PUBLIC_JUDGE0API_URL: string readonly PUBLIC_MAXKB_URL: string readonly PUBLIC_CODEAPI_URL: string - readonly PUBLIC_PYVIZ_URL: string readonly PUBLIC_ICONIFY_URL: string }