Skip to content

Commit

Permalink
update source/js/studyToday.js.
Browse files Browse the repository at this point in the history
fix API for CN

Signed-off-by: David <[email protected]>
  • Loading branch information
DavidDengHui authored and gitee-org committed Feb 11, 2024
1 parent 03947b4 commit 0326935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/js/studyToday.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ new Vue({
// fetch("https://api.emoao.com/api/60s?type=json", {
// fetch("https://tenapi.cn/v2/zhihuhot", {
// fetch("https://news.baidu.com/widget?id=hotnews&ajax=json", {
fetch("https://api.hnest.eu.org/get_api?url=https%3A%2F%2Fnews.baidu.com%2Fwidget%3Fid%3Dhotnews%26ajax%3Djson", {
fetch("https://api2.hnest.eu.org/get_api?url=https%3A%2F%2Fnews.baidu.com%2Fwidget%3Fid%3Dhotnews%26ajax%3Djson", {
method: "GET", // *GET, POST, PUT, DELETE, etc.
})
.then((res) => {
Expand Down

3 comments on commit 0326935

@DavidDengHui
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed with

update source/js/studyToday.js.
fix API for CN

Signed-off-by: David [email protected]

Following the Pages URL:

https://hnest-b58fvh3dd-daviddenghui.vercel.app

@DavidDengHui
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed with

update source/js/studyToday.js.
fix API for CN

Signed-off-by: David [email protected]

Following the Pages URL:

https://hnest.eu.org/

@DavidDengHui
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed with

update source/js/studyToday.js.
fix API for CN

Signed-off-by: David [email protected]

Following the Pages URL:

https://hnest.github.io/

Please sign in to comment.