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

@@ -92,7 +92,7 @@ async function select(key: string) {
copy()
break
case "test":
window.open(import.meta.env.VITE_CODE_URL, "_blank")
window.open(import.meta.env.PUBLIC_CODE_URL, "_blank")
break
}
}
@@ -103,7 +103,7 @@ function changeLanguage(v: LANGUAGE) {
}
function gotoTestCat() {
const url = import.meta.env.VITE_CODE_URL
const url = import.meta.env.PUBLIC_CODE_URL
window.open(url, "_blank")
}
</script>