mercredi 6 juillet 2016

How do I get the Ember index.html to appear in dist directory instead of the firebase welcome page?

First time doing this so I'm not sure what to do.

I initialized firebase, set dist as the public folder, ran ember build -prod, then firebase deploy.

I see the page welcoming me to firebase hosting, but I'm wondering how I get the index.html from my Ember app to appear instead of the index.html that firebase has added.

Here's my firebase.json file:

{
  "database": {
    "rules": "database.rules.json"
  },
  "hosting": {
    "public": "dist",
    "rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ]
  }
}

The index.html in /dist is firebase hosting and the index.html in /app is the Ember App one.

How do I get my app to appear?

Thanks

Aucun commentaire:

Enregistrer un commentaire