Set heroku env vars

This commit is contained in:
mjrode
2019-03-31 16:51:54 -05:00
parent c3f4668b2e
commit acf350b2e7
10 changed files with 88 additions and 12 deletions

View File

@@ -0,0 +1,22 @@
import {Router} from 'express';
import passport from 'passport';
import authService from '../services/auth';
const router = Router();
router.get('/google', authService.getAuthToken);
router.get('/users', plexService.getUsers);
router.get('/most-watched', plexService.getMostWatched);
router.get('/import/most-watched', plexService.importMostWatched);
router.get('/sections', plexService.getSections);
router.get('/import/sections', plexService.importSections);
router.get('/library/:id', plexService.getLibraryDataBySection);
router.get('/import/libraries', plexService.importLibraries);
router.get('/import/all', plexService.importAll);
export default router;