0

I am trying to deploy a web flutter app in firebase hosting, but every time I have the default page that affich at the link show: https://confidentialrulesweb.firebaseapp.com I use the code below to display:

  firebase login
  firebase init
  flutter build web
  firebase deploy 

thanks to show me how to deploy the right way

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
MrMoon
  • 31
  • 1
  • 6

1 Answers1

0

How did you answer the questions when you set up your webservice? You must specifically say "build/web" for the path.

Randal Schwartz
  • 39,428
  • 4
  • 43
  • 70
  • thank you Mr, I add in firebase Init when is asked build/web but even with that and the code I enter in the question it's lead my app to the default index.html for firebase hosting. I don't know why – MrMoon Dec 19 '20 at 13:27
  • When you did `firebase init hosting`, did you enter `build/web`? And was build/web already built? `flutter build web`? And then did you `firebase deploy --only hosting`? – Randal Schwartz Dec 19 '20 at 16:58
  • sorry and thank you for your answer, I am seek a litle, get better and will try again 'try it if i remember right, one time --only hosting, – MrMoon Dec 20 '20 at 19:08