title: Express.js doesn't redirect to custom URL scheme
body: <p>I'm currently trying to redirect the user to a custom URL scheme with Express.js to open an app installed on my iPad (using &quot;example://&quot;).</p>
  <p>Here's my code that should redirect to the URL when a button gets pressed on a page running on a different server:</p>
  <pre><code>const { response } = require('express');
  const express = require('express');
  const router = express.Router();
  const path = require('path');
  const smartMirror = express();
  
  
  router.get('/', function(req, res){
      res.sendFile(path.join(__dirname + '/test.html'));
  });
  
  smartMirror.use('/', router);
  smartMirror.listen(process.env.port || 8000);
  
  console.log('Running on Port 8000');
  
  smartMirror.get(&quot;/launch&quot;, (req, res) =&gt; {
      res.redirect(302, &quot;touchpoint://&quot;);
      res.status(200);
  })
  </code></pre>
  <p>In the console the error says &quot;UnhandledPromiseRejectionWarning: TypeError: node-fetch cannot load [object Request]. URL scheme &quot;touchpoint&quot; is not supported.&quot;</p>
  <p>What's the problem here?</p>