Skip to content

Commit

Permalink
update 不缓存版本文件
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien8261 committed Jul 12, 2023
1 parent 9fcf569 commit 8245689
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/components/download.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default {
}
},
mounted() {
axios.get(`${cos}/latest-V6-${this.version}.txt`).then(response => {
axios.get(`${cos}/latest-V6-${this.version}.txt?time=${new Date().getTime()}`).then(response => {
this.latest = response.data.toString().replace(/\r\n/g, '').replace(/\n/g, '')
})
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "pypi project amiyabot's docs",
"main": "index.js",
"scripts": {
"docs:dev": "vitepress dev docs --host",
"docs:dev": "vitepress dev docs --host --port 8080",
"docs:build": "vitepress build docs",
"docs:serve": "vitepress serve docs"
},
Expand Down

0 comments on commit 8245689

Please sign in to comment.