Files
RSSHub/lib/v2/google/router.js
Fatpandac c144a1864b feat(route): add Google Fonts and refactor /google/** to V2 (#8927)
* Add(route): add Google Fonts and change to V2

* Fix(route): added throw error when API key is underfined

* Fix(docs): add warning container

* Fix(docs): Update docs/design.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Fix(route): sort routes

* Fix(route): Update lib/v2/google/fonts.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-03 01:18:17 +08:00

9 lines
369 B
JavaScript

module.exports = function (router) {
router.get('/album/:id', require('./album'));
router.get('/citations/:id', require('./citations'));
router.get('/doodles/:language?', require('./doodles'));
router.get('/fonts/:sort?', require('./fonts'));
router.get('/scholar/:query', require('./scholar'));
router.get('/sites/:id', require('./sites'));
};