JCP
JCP

Reputation: 119

Firebase deployment issue

enter image description here

I'm trying to deploy my web app to Firebase, and I have gotten through the deploy script successfully, but when I go to the url I get the Open Hosting Documentation page instead of my app. This my firebase.json file.

{
  "hosting": {
    "public": "y",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ]
  }
}

Upvotes: 1

Views: 48

Answers (1)

Obum
Obum

Reputation: 1613

Change the value of "public" from "y" to "build"

Upvotes: 1

Related Questions