diff --git a/routes/home.js b/routes/home.js index 2997767..b68ba45 100644 --- a/routes/home.js +++ b/routes/home.js @@ -5,8 +5,6 @@ const homeRoute = require('express').Router(); const processJsonSubreddit = require('../inc/processJsonSubreddit.js'); const tedditApiSubreddit = require('../inc/teddit_api/handleSubreddit.js')(); const processMoreComments = require('../inc/processMoreComments.js')(); -const processSubredditsExplore = - require('../inc/processSubredditsExplore.js')(); homeRoute.get('/:sort?', async (req, res, next) => { let past = req.query.t; diff --git a/routes/save.js b/routes/save.js index e09d23a..9479700 100644 --- a/routes/save.js +++ b/routes/save.js @@ -5,8 +5,6 @@ const saveRoutes = require('express').Router(); const processJsonSubreddit = require('../inc/processJsonSubreddit.js'); const tedditApiSubreddit = require('../inc/teddit_api/handleSubreddit.js')(); const processMoreComments = require('../inc/processMoreComments.js')(); -const processSubredditsExplore = - require('../inc/processSubredditsExplore.js')(); saveRoutes.get('/saved', (req, res, next) => { let saved = req.cookies.saved; diff --git a/routes/user.js b/routes/user.js index bbdc8af..23b2150 100644 --- a/routes/user.js +++ b/routes/user.js @@ -7,8 +7,6 @@ const tedditApiUser = require('../inc/teddit_api/handleUser.js')(); const processJsonSubreddit = require('../inc/processJsonSubreddit.js'); const tedditApiSubreddit = require('../inc/teddit_api/handleSubreddit.js')(); const processMoreComments = require('../inc/processMoreComments.js')(); -const processSubredditsExplore = - require('../inc/processSubredditsExplore.js')(); userRoutes.get('/user/:user/:kind?', (req, res, next) => { let kind = '';