diff --git a/routes/ncov.js b/routes/ncov.js index 18f23b4..8a3719b 100644 --- a/routes/ncov.js +++ b/routes/ncov.js @@ -14,6 +14,7 @@ import { import { fetchAllChinaData, fetchChinaData, + fetchImageData, fetchIndividualChinaData, fetchWorldData } from '../controller/ncovFetchData.js' @@ -30,6 +31,7 @@ router.get('/travelprevention', TravelPolicy) router.get('/fetch', fetchAllChinaData); router.get('/fetch/one', fetchIndividualChinaData) +router.get('/fetch/chart', fetchImageData); router.get('/fetch/china', fetchChinaData); router.get('/fetch/world', fetchWorldData);