Search code examples
flutterfirebasefirebase-hosting

Fiebase hosted url not working after deploying it again


I have update my already deployed flutter project and deployed it again in firebase . It shows the deployment is complete ,but my hosted url leads me to a firebase documentation page like below :

enter image description here

I intially typed:

firebase init 
firebase deploy

The url was working fine when I deployed it for the first time . I made some updation on my project and tried to deployed it again .What can I do now ?

this is my firebase.json: enter image description here


Solution

  • I have solved the issue , I shouldn't have overwrite the index.html .Overwriting index.html will produce a default index.html which is created by firebase .So when they ask File build/web/index.html already exists. Overwrite? No should be given .