title: How to make ADSF/Puma serve HTML files without the .html extension
body: <p>I am building a static site without the help of Jekyll or any other known static site builder. When deploying such site to a static site host like GitHub Pages or Netlify, these servers know to load <code>software.html</code> when I am accessing <code>mydomain.com/software</code> (without the <code>.html</code> extension).</p>
  
  <p>Is there a way for me to reproduce this behavior when running a local, Ruby-based web server such as Puma? More specifically, I am using Ruby's <a href="https://github.com/ddfreyne/adsf" rel="nofollow noreferrer">adsf</a> wrapper to launch a Puma server to serve my site locally for development.</p>
  
  <p>My guess is that this should be possible by some rack middleware or rack configuration, I am just unable to identify the proper Google search for it.</p>
  
  <p>I should probably mention that I am not interested in the <code>directory/index.html</code> approach, since all web servers I have seen add a trailing slash to the URL in these cases.</p>