title: How can I serve mp3 file on node js?
body: <p>I am building simple web app that if the user press button, it will make sound(mp3 file in the server side).</p>
  
  <pre><code>//html file
  &lt;script&gt;
    function playSound () {
      document.getElementById('play').play();
    }
  &lt;/script&gt;
  &lt;body&gt;
      &lt;audio id='play', src='http://127.0.0.1:1337/', type='audio/mpeg'
         &lt;button onclick='playSound()' class='btn btn-danger btn-circle btn-lg'&gt;
            &lt;i class='fa fa-5x fa-fire'&gt;
  &lt;/body&gt;
  
  
  //app.js
  app.get('/music.mp3', function(req, res){
    ms.pipe(req, res, "/music.mp3");
  });
  </code></pre>
  
  <p>It works if I insert online source in <code>audio</code> attribute, but it does not serve my local server file. How can I fix this?</p>
  
  <p>Thanks in advance!</p>