diff --git a/.env b/.env index 226574f..46d87e9 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -VITE_MAXKB_URL=https://maxkb.xuyue.cc/chat/api/embed?protocol=https&host=maxkb.xuyue.cc&token=2e801f7d6efdcc99 -VITE_OJ_URL=http://localhost:8000 -VITE_CODE_URL=https://code.xuyue.cc -VITE_JUDGE0_URL=https://judge0api.xuyue.cc \ No newline at end of file +PUBLIC_MAXKB_URL=https://maxkb.xuyue.cc/chat/api/embed?protocol=https&host=maxkb.xuyue.cc&token=2e801f7d6efdcc99 +PUBLIC_OJ_URL=http://localhost:8000 +PUBLIC_CODE_URL=https://code.xuyue.cc +PUBLIC_JUDGE0_URL=https://judge0api.xuyue.cc \ No newline at end of file diff --git a/.env.production b/.env.production index 5c19f06..0f9adab 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,4 @@ -VITE_MAXKB_URL=https://maxkb.xuyue.cc/chat/api/embed?protocol=https&host=maxkb.xuyue.cc&token=2e801f7d6efdcc99 -VITE_OJ_URL=https://oj.xuyue.cc -VITE_CODE_URL=https://code.xuyue.cc -VITE_JUDGE0_URL=https://judge0api.xuyue.cc \ No newline at end of file +PUBLIC_MAXKB_URL=https://maxkb.xuyue.cc/chat/api/embed?protocol=https&host=maxkb.xuyue.cc&token=2e801f7d6efdcc99 +PUBLIC_OJ_URL=https://oj.xuyue.cc +PUBLIC_CODE_URL=https://code.xuyue.cc +PUBLIC_JUDGE0_URL=https://judge0api.xuyue.cc \ No newline at end of file diff --git a/.env.staging b/.env.staging index 71ec151..76547dd 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ -VITE_MAXKB_URL=http://10.13.114.114:92/chat/api/embed?protocol=http&host=10.13.114.114:92&token=dd37457027c40b39 -VITE_OJ_URL=http://10.13.114.114:81 -VITE_CODE_URL=http://10.13.114.114:82 -VITE_JUDGE0_URL=http://10.13.114.114:8082 -VITE_ICONIFY_URL=http://10.13.114.114:8098 \ No newline at end of file +PUBLIC_MAXKB_URL=http://10.13.114.114:92/chat/api/embed?protocol=http&host=10.13.114.114:92&token=dd37457027c40b39 +PUBLIC_OJ_URL=http://10.13.114.114:81 +PUBLIC_CODE_URL=http://10.13.114.114:82 +PUBLIC_JUDGE0_URL=http://10.13.114.114:8082 +PUBLIC_ICONIFY_URL=http://10.13.114.114:8098 \ No newline at end of file diff --git a/index.html b/index.html index 4ce5be8..85770d8 100644 --- a/index.html +++ b/index.html @@ -12,11 +12,10 @@
-