Questions tagged [firebase-hosting]

Firebase Hosting is developer-focused static web hosting for modern front-end web applications. Using Firebase Hosting, developers deploy SSL-enabled web apps to a global content-delivery network from a single command.

About Firebase Hosting

Firebase Hosting is a component of the Firebase suite of tools for cross-platform application development.

  • Automatically provisioned SSL certificate
  • Blazing-fast content worldwide
  • Support for client-side routing
  • Atomic deploys and one-click rollbacks

Related tags

2394 questions
19
votes
5 answers

Flutter web app is missing firebase.json and shows "Welcome Firebase Hosting Setup Complete" when deployed to firebase hosting

Background I am using Android Studio to create a Flutter web app. The app runs successfully on localhost in Google Chrome. When I deploy it to Firebase hosting, a "Firebase Hosting Setup Complete" page is displayed instead of the app. What I've…
Benoît Cerise
  • 522
  • 5
  • 14
19
votes
4 answers

How do I find out what the current version of Firebase Tools is

From the node.js command prompt, using: $ firebase help gives this list: Usage: firebase [options] [command] Options: -------- - -V, --version - output the version number - -P, --project - the Firebase project to use for…
Alan Wells
  • 30,746
  • 15
  • 104
  • 152
19
votes
3 answers

Rewrite routes from hosting to cloud functions from other regions than us-central1

I have a http triggered cloud function deployed in the europe-west1 region and a web app hosted with firebase hosting. I have also setup a rewrite to that http function in my firebase.json file. I have noticed that the rewrite only works with…
19
votes
1 answer

Can sites on Firebase hosting include non-https resources?

I have been trying to migrate my site from divshot to firebase, since firebase has taken over divshot and shut it down. Mine is a simple read only site that does not need https. It also contains links to external sites which do not support https.…
Bob Hogan
  • 191
  • 1
  • 1
  • 5
18
votes
1 answer

HTTPS iframe inside a HTTPS page not working

How can we use github pages embedded in an iframe correctly? I've hosted a website in firebase and it is using a custom domain over https, for example, https://www.example.com. This website uses react and other things, but for one route (the landing…
GarouDan
  • 3,743
  • 9
  • 49
  • 75
18
votes
2 answers

Port and Proxy Config on ng-build

I have a frontend running for example on int.myapp.com and it's backend on int.backend.myapp.com. I thought I can do the proxing with the proxy.config.json like this: "/api": { "target": "https://int.backend.myapp.com", "secure": true, …
Franky
  • 902
  • 2
  • 11
  • 28
18
votes
4 answers

How to update a file that I deployed to Firebase Hosting?

On deploying my app to Firebase, I am getting this message: You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary! I learnt from a previous post that I need to replace the default…
theusual
  • 741
  • 2
  • 11
  • 24
18
votes
2 answers

Firebase hosting and deploying only new/changed/touched files

I'm using Firebase Hosting for hosting a web app. I'm also hosting some small screencasts on the site, however every time I want to make a change to the app and deploy, I have to wait for the videos to be pushed. Is there a way to selectively push…
MandM
  • 3,293
  • 4
  • 34
  • 56
17
votes
10 answers

Firebase hosting deployment error Error: Error: 404, Requested entity was not found

i have hosted a static website on firebase and i am using node.js. when i am trying to deploy my website i am facing this error. C:\Users\Ankur-PC\Desktop>firebase deploy === Deploying to 'wo*****win'... i deploying hosting **Error: HTTP Error:…
user10197811
17
votes
4 answers

Can Firebase Hosting Serve Cached Data from Cloud Functions?

Let's say I have a database of 100,000 pieces of content inside of firestore. Each piece of content is unlikely to change more than once per month. My single page app, using firebase hosting, uses a function to retrieve the content from firestore,…
17
votes
2 answers

Cache-Control header in firebase.json not working

The Cache-Control header in my firebase.json does not seem to be working. The max-age value for all files is set to 31536000 (1 year), but when loading the page it is still set to the browser default of 3600 (1 hour). The firebase.json file seems to…
deleted
  • 772
  • 1
  • 6
  • 19
17
votes
9 answers

Firebase hosting - Unable to authorize access to project

I'm using $firebase deploy to upload my static files to my newly created firebase project, but I get the following error in the command line. Unable to authorize access to project project-1234567890 The error message goes on to mention the Firebase…
Andrew Kelly
  • 2,180
  • 2
  • 19
  • 27
17
votes
4 answers

Unable to do Firebase deploy - Error: Invalid Firebase specified

After accomplishing all the necessary steps on firebase.com/docs and upgrading my app to newer version I still can't run the deploy it using firebase-tools. $ firebase deploy MY_APP_NAME Gives following…
shershen
  • 9,875
  • 11
  • 39
  • 60
16
votes
1 answer

How to edit the Firebase DynamicLinks 404 (Dynamic Link Not Found) page?

I'm using Firebase DynamicLinks and wondering if there is a way to edit the page that appears when the user opens an invalid or deleted link? I tried to provide the 404.html in the public folder of Firebase hosting but didn't work as expected.
16
votes
9 answers

Firebase hosting deployment failing

Running firebase deploy will run for a few minutes before giving me a timeout error Error: ESOCKETTIMEDOUT I've successfully deployed multiple times earlier, without changing anything but the frontend of my project (written in React). I have a…