use new domain name.

This commit is contained in:
xuyue committed 2023-12-15 09:47:18 +08:00
1 parent 9e7802e7e9
commit bc2ab97d3f
4 files changed
+4 -4

No files matched your search

+1 -1
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)