title: In browser pdf viewer not working with React App
body: <p>My web app contains many links to various pdf files which are stored in Amazon S3. When I click on these links, the pdf file is downloaded even though my in browser, default, pdf viewer is enabled. If I install a third party pdf viewer, this fixes the problem, but I don't want my users to have to install an extension. </p>
  
  <p>I tried adding each pdf link to the Google Docs pdf viewer url, but because these S3 pdf files are protected by their bucket policy, this doesn't work. I am 100% sure my default pdf viewer is enabled correctly, it works for other pdfs on the internet. </p>
  
  <p>Has anybody run into this bizarre problem? Could I fix this with PDF.js? I am pretty sure the source of the problem is due to the pdf files being uploaded to S3 using http requests and not via the s3 client, but I still have no idea how to fix this.</p>