简体   繁体   中英

Firebase Deploy Link shows Blank or Deploy complete

Have an issue where the Firebase deploy link shows "Firebase Hosting Setup Complete." I've tried just about everything on stackoverflow with no success.

I have it set to "build" not "public" in my firebase.json for hosting and it's not doing anything. I've tried messing with the index.html but then the screen just comes up white/blank.

I've also deleted firebase files completely and started the init over. Still comes back the same.

Has anyone else ran into this lately?

It's hard to tell without any code snippets or firebase config files but I believe if you specify your public location as "build" you do not need to include the rewrites property in the firebase.json file. According to The Docs ,

Set up rewrites for any of these purposes:

  • Show the same content for multiple URLs. Learn how.

  • Serve a function or access a Cloud Run container from a Hosting URL. Learn how: function or container.

  • Create a custom domain Dynamic Link. Learn how.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM