use new domain name.

This commit is contained in:
2023-12-15 09:47:18 +08:00
parent 9e7802e7e9
commit bc2ab97d3f
4 changed files with 4 additions and 4 deletions

View File

@@ -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)