title: Cant use Routes from express
body: <p>When I use</p>
  <pre><code>import express from 'express';
  const app = express();
  app.use(cors());
  app.use(express.json());
  
  app.get('/users', (req, res) =&gt; res.json({'name':'luka'}));
  </code></pre>
  <p>and i go to localhost:4000/users/ i get a valid response.</p>
  <p>But when I change it to using routers:</p>
  <pre><code>import express from 'express';
  const app = express();
  app.use(cors());
  app.use(express.json());
  
  const router = express.Router();
  router.use('/users', userRouter);
  
  app.get('/', router);
  </code></pre>
  <p>where userRouter is imported and looks like this:</p>
  <pre><code>import express from 'express';
  const userRouter = express.Router();
  userRouter.route('/').get(
      (req, res)=&gt;{
          res.json({'name':'luka'});
      }
  );
  export default userRouter;
  </code></pre>
  <p>I get 'CANNOT GET /users/' message. I don't know what can be a problem, any suggestions?</p>