From 4a27fdc88031e8fc5565c141444c2072557ee2cd Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Sat, 7 May 2022 19:48:14 -0700 Subject: [PATCH] doc: change host to own server and covInfo to the server's endpoint --- src/api/base.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/base.js b/src/api/base.js index 55a0e7a..f0b2809 100644 --- a/src/api/base.js +++ b/src/api/base.js @@ -3,9 +3,9 @@ */ const base = { - host: "https://api.tianapi.com", + host: "https://covid-19-api-server", baseUrl: "https://yupn.api.storeapi.net", - covInfo: "/ncov/index", + covInfo: "/api", chinaData: "/api/94/219?format=json", worldData: "/api/94/220?format=json", cityData: "/api/94/221",