title: Express app using firebase functions
body: <p>Im trying to run an Express app into firebase, i'm following the steps of this official video:</p>
  
  <p><a href="https://www.youtube.com/watch?v=LOeioOKUKI8&amp;t=296s" rel="nofollow noreferrer">Node.js apps on Firebase hosting crash course</a></p>
  
  <p>My Express app is actually running on this URL</p>
  
  <blockquote>
    <p><a href="http://localhost:5001/my-app/us-central1/app/test" rel="nofollow noreferrer">http://localhost:5001/my-app/us-central1/app/test</a></p>
  </blockquote>
  
  <p>But on the video, the demostration is running on this url</p>
  
  <blockquote>
    <p><a href="http://localhost:5000/test" rel="nofollow noreferrer">http://localhost:5000/test</a></p>
  </blockquote>
  
  <p>So, i'm really confused about this, i'been made everything as the tutorial shows</p>
  
  <p>this is my code on functions/index.js</p>
  
  <pre><code>const functions = require('firebase-functions');
  
  const express = require('express')
  const app = express()
  
  app.get('/test', (req, res) =&gt; {
      res.send(`Well if i'm reading this the app is working`)
  })
  
  
  exports.app = functions.https.onRequest(app)
  </code></pre>
  
  <p>And this is firebase.json</p>
  
  <pre><code>{
    "hosting": {
      "public": "public",
      "rewrite":[{
        "source": "/test",
        "function": "app"
      }],
      "ignore": [
        "firebase.json",
        "**/.*",
        "**/node_modules/**"
      ]
    }
  }
  </code></pre>
  
  <p>What i'm doing wrong? if i enter to localhost:5000 i just get the public static index.html, i just want to control the app by myself.</p>
  
  <p>I hope you can give me a little help to get documented, thanks!</p>