use new domain name.
This commit is contained in:
@@ -98,7 +98,7 @@ const abnormalServers = computed(() =>
|
||||
)
|
||||
|
||||
const websiteConfig = reactive({
|
||||
website_base_url: "https://oj.hyyz.izhai.net",
|
||||
website_base_url: "https://oj.xuyue.cc",
|
||||
website_name: "徐越的判题狗",
|
||||
website_name_shortcut: "徐越的判题狗",
|
||||
website_footer: "所有权归属于徐越,感谢青岛大学开源 OJ 系统,感谢开源社区",
|
||||
|
||||
@@ -69,7 +69,7 @@ async function select(key: string) {
|
||||
message.success("代码复制成功")
|
||||
break
|
||||
case "test":
|
||||
window.open("https://code.hyyz.izhai.net", "_blank")
|
||||
window.open("https://code.xuyue.cc", "_blank")
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import { DEAD_RESULTS } from "./constants"
|
||||
import { decode, encode, protocol } from "./functions"
|
||||
import { Code } from "./types"
|
||||
|
||||
const http = axios.create({ baseURL: `${protocol}://judge0api.hyyz.izhai.net` })
|
||||
const http = axios.create({ baseURL: `${protocol}://judge0api.xuyue.cc` })
|
||||
|
||||
export async function createTestSubmission(code: Code, input: string) {
|
||||
const encodedCode = encode(code.value)
|
||||
|
||||
@@ -6,7 +6,7 @@ import AutoImport from "unplugin-auto-import/vite"
|
||||
import Components from "unplugin-vue-components/vite"
|
||||
import { NaiveUiResolver } from "unplugin-vue-components/resolvers"
|
||||
|
||||
const url = "https://oj.hyyz.izhai.net"
|
||||
const url = "https://oj.xuyue.cc"
|
||||
const proxyConfig = {
|
||||
target: url,
|
||||
changeOrigin: true,
|
||||
|
||||
Reference in New Issue
Block a user