Skip to content

Commit

Permalink
fix small
Browse files Browse the repository at this point in the history
  • Loading branch information
dattp committed Dec 17, 2020
1 parent a693f8a commit 47fe468
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import YoutubeBackgroundTasks from './src/tasks/video.background';
import YoutubePlayListBackgroundTasks from './src/tasks/playlist.background';
import keycloak from './src/configs/keycloak.config';

// const keycloak = Keycloak();
/* istanbul ignore next */
dotenv.config();

Expand Down Expand Up @@ -45,7 +44,6 @@ const accessLogStream = rfs('access.log', {
// adding morgan to log HTTP requests
app.use(morgan('dev', { stream: accessLogStream }));


// connect to mongo
connectDatabase();

Expand All @@ -63,7 +61,6 @@ app.get('/', (req, res) => {
res.send('App works!!!!!');
});


app.use('/api', require('./src/routes/routes').default);

// request to handle undefined or all other routes
Expand Down

0 comments on commit 47fe468

Please sign in to comment.