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