update
This commit is contained in:
6
.github/workflows/deploy.yaml
vendored
6
.github/workflows/deploy.yaml
vendored
@@ -11,9 +11,9 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 22
|
||||
cache: "npm"
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
@@ -25,4 +25,4 @@ jobs:
|
||||
ARGS: "-avzr --delete"
|
||||
SOURCE: .vitepress/dist/
|
||||
REMOTE_USER: root
|
||||
TARGET: /root/NewBook/dist
|
||||
TARGET: /root/Book/dist
|
||||
|
||||
@@ -24,10 +24,10 @@ const DEAD_RESULTS = {
|
||||
},
|
||||
}
|
||||
|
||||
let url = "http://10.13.114.214:8082"
|
||||
let url = "http://10.13.114.114:8082"
|
||||
//@ts-ignore
|
||||
if (import.meta.env.MODE === "production") {
|
||||
url = "https://judge0.xuyue.cc"
|
||||
url = "https://judge0api.xuyue.cc"
|
||||
}
|
||||
const http = axios.create({ baseURL: url })
|
||||
|
||||
|
||||
14
package.json
14
package.json
@@ -13,14 +13,14 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"prettier": "^3.5.2",
|
||||
"vitepress": "1.6.3"
|
||||
"prettier": "^3.6.2",
|
||||
"vitepress": "1.6.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@codemirror/lang-cpp": "^6.0.2",
|
||||
"@codemirror/lang-python": "^6.1.7",
|
||||
"axios": "^1.7.9",
|
||||
"codemirror": "^6.0.1",
|
||||
"vue-codemirror6": "~1.3.11"
|
||||
"@codemirror/lang-cpp": "^6.0.3",
|
||||
"@codemirror/lang-python": "^6.2.1",
|
||||
"axios": "^1.11.0",
|
||||
"codemirror": "^6.0.2",
|
||||
"vue-codemirror6": "~1.3.22"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user