Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
507 views
in Technique[技术] by (71.8m points)

flutter - default link open after deploy firebase

I am doing flutter web app hosting in firebase. I create first default link in firebase and this link working properly. After I add new modules in my web application then return import to firebase but when I click on link I got same previous modules means default link website.so how to get new link in firebase hosting. I am doing below process for new link

  1. npm install -g firebase-tools
  2. firebase login
  3. firebase init
  • -> select hosting (Hosting: Configure and deploy Firebase Hosting sites)
  • -> What do you want to use as your public directory? (public) build/web (and try public also)
  • -> Configure as a single-page app (rewrite all URLs to /index.html)? (y/N) y
  • -> Set up automatic builds and deploys with GitHub? (y/N) N
  • -> File build/web/index.html already exists. Overwrite? (y/N) y (Writing configuration info to firebase.json, Writing project information to .firebaserc..., Firebase initialization complete!)
  1. firebase deploy (generate new link but when I open on browser then I got previous link module) or I got Firebase Hosting Setup Complete window

So what should I do?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...