From aa6854b6ab079e96288286f3024a964f8966dda5 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Thu, 8 May 2025 20:33:58 +0800 Subject: [PATCH] fix --- .env | 7 ++----- .env.production | 7 ++----- .env.staging | 5 +---- index.html | 2 +- src/vite-env.d.ts | 1 - 5 files changed, 6 insertions(+), 16 deletions(-) delete mode 100644 src/vite-env.d.ts diff --git a/.env b/.env index 6806ae7..04c9c57 100644 --- a/.env +++ b/.env @@ -1,7 +1,4 @@ PUBLIC_JUDGE0API_URL=https://judge0api.xuyue.cc -PUBLIC_MAXKB_URL=https://maxkb.xuyue.cc -PUBLIC_MAXKB_HOST=maxkb.xuyue.cc -PUBLIC_MAXKB_TOKEN=1b7cd529423b3f36 +PUBLIC_MAXKB_URL=https://maxkb.xuyue.cc/api/application/embed?protocol=https&host=maxkb.xuyue.cc&token=1b7cd529423b3f36 PUBLIC_CODEAPI_URL=https://codeapi.xuyue.cc -PUBLIC_PYVIZ_URL=https://pyviz.xuyue.cc -PUBLIC_PROTOCOL=https \ No newline at end of file +PUBLIC_PYVIZ_URL=https://pyviz.xuyue.cc \ No newline at end of file diff --git a/.env.production b/.env.production index 6806ae7..04c9c57 100644 --- a/.env.production +++ b/.env.production @@ -1,7 +1,4 @@ PUBLIC_JUDGE0API_URL=https://judge0api.xuyue.cc -PUBLIC_MAXKB_URL=https://maxkb.xuyue.cc -PUBLIC_MAXKB_HOST=maxkb.xuyue.cc -PUBLIC_MAXKB_TOKEN=1b7cd529423b3f36 +PUBLIC_MAXKB_URL=https://maxkb.xuyue.cc/api/application/embed?protocol=https&host=maxkb.xuyue.cc&token=1b7cd529423b3f36 PUBLIC_CODEAPI_URL=https://codeapi.xuyue.cc -PUBLIC_PYVIZ_URL=https://pyviz.xuyue.cc -PUBLIC_PROTOCOL=https \ No newline at end of file +PUBLIC_PYVIZ_URL=https://pyviz.xuyue.cc \ No newline at end of file diff --git a/.env.staging b/.env.staging index 0e449ae..80a4f74 100644 --- a/.env.staging +++ b/.env.staging @@ -1,8 +1,5 @@ PUBLIC_JUDGE0API_URL=http://10.13.114.214:8082 -PUBLIC_MAXKB_URL=http://10.13.114.214:8089 -PUBLIC_MAXKB_HOST=10.13.114.214:8089 -PUBLIC_MAXKB_TOKEN=1b7cd529423b3f36 +PUBLIC_MAXKB_URL= PUBLIC_CODEAPI_URL=http://10.13.114.214:8092 PUBLIC_PYVIZ_URL=http://10.13.114.214:9000 -PUBLIC_PROTOCOL=http PUBLIC_ICONIFY=http://10.13.114.214:8098 \ No newline at end of file diff --git a/index.html b/index.html index 241fe19..902e7f9 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts deleted file mode 100644 index 11f02fe..0000000 --- a/src/vite-env.d.ts +++ /dev/null @@ -1 +0,0 @@ -///