title: Serve out swagger-ui from nodejs/express project
body: <p>I would like to use the swagger-ui dist 'as-is'...well almost as-is.</p>
  
  <p>Pulled down the latest release from github (2.0.24) and stuck it in a folder in my app.  I then server it out statically with express:</p>
  
  <pre><code>app.use('/swagger', express.static('./node_modules/swagger-ui/dist'));
  </code></pre>
  
  <p>That works as expected when I go to:</p>
  
  <pre><code>https://mydomain.com/swagger
  </code></pre>
  
  <p>However I want to populate the url field to my swagger json dynamically.  IE I may deploy to different domains:</p>
  
  <pre><code>https://mydomain.com/api-docs
  https://otherdomain.com/api-docs
  </code></pre>
  
  <p>And when I visit:</p>
  
  <pre><code>https://mydomain.com/swagger
  https://otherdomain.com/swagger
  </code></pre>
  
  <p>I would like to dynamically set the url.</p>
  
  <p>Is that possible?</p>