Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
use axios
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Sep 30, 2024
1 parent 933e0e6 commit 3e35b5f
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 158 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"dayjs": "^1.11.13",
"express": "^5.0.0",
"webdav": "^5.7.1",
"ws": "^8.18.0",
"yaml": "^2.5.1"
},
"devDependencies": {
Expand Down
17 changes: 17 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/prepare.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ const resolveMonitor = async () => {
if (fs.existsSync(targetPath)) {
fs.rmSync(targetPath, { recursive: true })
}
zip.extractAllTo(resDir, true)
zip.extractAllTo(targetPath, true)

console.log(`[INFO]: TrafficMonitor finished`)
}
Expand Down
Loading

0 comments on commit 3e35b5f

Please sign in to comment.