Skip to content

Commit

Permalink
fix: update API endpoint to v2 in welcome.js for version info retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanNotFound committed Jun 2, 2024
1 parent b885178 commit 94f2dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/events/welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ hexo.on("ready", async () => {
return new Promise((resolve, reject) => {
https
.get(
`https://redefine-version.ohevan.com/api/info`,
`https://redefine-version.ohevan.com/api/v2/info`,
{ timeout: timeout },
(response) => {
if (response.statusCode < 200 || response.statusCode > 299) {
Expand Down

0 comments on commit 94f2dbd

Please sign in to comment.