use rsbuild instead of vite

This commit is contained in:
2025-09-05 11:00:55 +08:00
parent 80552924df
commit 84d798c01f
21 changed files with 1342 additions and 1098 deletions

View File

@@ -2,7 +2,7 @@ import axios from "axios"
import { decode, encode } from "./functions"
import { Code } from "./types"
const http = axios.create({ baseURL: import.meta.env.VITE_JUDGE0_URL })
const http = axios.create({ baseURL: import.meta.env.PUBLIC_JUDGE0_URL })
export async function createTestSubmission(code: Code, input: string) {
const encodedCode = encode(code.value)

View File

@@ -384,7 +384,7 @@ export interface Tutorial {
is_public: boolean
order: number
type: "python" | "c"
created_by?: User
created_by?: User
updated_at?: Date
created_at?: Date
}
}