FIX for Heroku deployment error

TypeError: Router.use() requires middleware function but got a Object