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

1890 questions
107
votes
1 answer

What's the purpose of .firebase/hosting. ALPHANUM.cache

Today I deployed firebase hosting. After deployment, I noticed firebase creates file of .firebase/hosting.ALPHANUM.cache, where ALPHANUM is actually some random baseNN ish value. Question What is the purpose of this file? More especially, can I add…
Yuki Inoue
  • 2,652
  • 4
  • 27
  • 40
90
votes
7 answers

How do I remove a hosted site from firebase

I have a hosted site on firebase which I am not using anymore. I still want to keep the project but want to remove the hosted site. Is there any way to do this or do I just need to upload an empty directory. Doesn't seem to be an option in the UI
dpix
  • 1,936
  • 1
  • 12
  • 22
85
votes
5 answers

Property 'firebase' does not exist on type { production: boolean; }

So I was trying to build and deploy my Angular 4 app for production on both Firebase and Heroku, but I have come across the error as follows: ERROR in /Users/.../... (57,49): Property 'firebase' does not exist on type '{ production: boolean;…
60
votes
5 answers

Google Domain - DNS Configuration for Firebase Hosting - Connect Domain

I am trying to connect my firebase app in to a domain -where the domain purchesd from google.Need help to to do the setup for DNS configuration. my app is working fine in firebase app. firebase app is - https://.firebaseapp.com/ My Firebase…
Manu
  • 1,071
  • 4
  • 15
  • 34
59
votes
5 answers

Firebase CLI: "Configure as a single-page app (rewrite all urls to /index.html)"

I just used the Firebase CLI to init a static hosting project. What exactly happens when you enable the "configure as a single-page app" option? I'm looking for a description of exactly which files are modified, and what kind of effect this has on…
Kayce Basques
  • 17,419
  • 7
  • 71
  • 96
58
votes
6 answers

Firebase hosting not validating TXT record in GoDaddy

I deployed my app and now I'm trying to add my custom URL. I followed Firebase's instructions and added their TXT record to my DNS (GoDaddy). But now Firebase is saying it's still not verified. I assume I'm doing something wrong, but there's not…
DoubleTri
  • 741
  • 1
  • 6
  • 13
51
votes
3 answers

Pull lost code from Firebase Hosting deployment

I need to pull down my code from a firebase hosted site, I created a site this past summer and no longer have the code locally on my laptop. I would like to recode some of the pieces, but don't have the source code anymore (other than the…
Randal Wilcox
  • 521
  • 1
  • 4
  • 6
50
votes
13 answers

Firebase deploy not updating JS file

I deployed a Firebase app, and made a change to one of the JavaScript files in the project. I re-executed firebase deploy from the project directory, but the files on the site are not updating. When I deploy, the account management shows that an…
user3660665
  • 511
  • 1
  • 4
  • 5
41
votes
11 answers

Firebase hosting: Needs Setup

I am trying to set custom domain for my firebase app Firebase hosted url : https://inventory-app-726af.firebaseapp.com/ Custom Domain: inv.agsft.com I have followed all instructions as part of setting custom domain but after verification step when I…
Pari
  • 1,105
  • 1
  • 15
  • 31
41
votes
5 answers

Firebase Hosting: We couldn't verify your domain example.com. Please check your settings and try again

I tried to add my custom domain to firebase hosting. But firebase can not verify. Though I add txt record in my domain control panel. Here is the the
Rifat Monzur
  • 470
  • 1
  • 4
  • 8
41
votes
2 answers

How do I make a custom subdomain on Firebase?

I have purchased a domain ("www.mydomain.com"). How do I make a subdomain on Firebase ("sub.mydomain.com"), if I am using Firebase hosting?
Doug Liu
  • 411
  • 1
  • 4
  • 4
39
votes
6 answers

Unable to add Firebase Dynamic Links to a project using a custom domain

I've created Firebase Dynamic Links in other projects before using the page.link URL prefix (the only option at the time). However that no longer appears to be an option when enabling Dynamic Links for a new project today. It looks like the docs for…
Splaktar
  • 3,680
  • 3
  • 39
  • 70
38
votes
1 answer

Firebase hosting: How to prevent caching for the index.html of an SPA

I'm hosting an SPA on firebase where almost all paths get rewritten to index.html. I'm using webpack hash based cache busting, so I want to always prevent caching of my index.html but not any other files. I'm finding it surprisingly difficult to…
37
votes
8 answers

How to clean old deployed versions in Firebase hosting?

Every time you deploy to Firebase hosting a new deploy version is created so you can roll back and see who deployed. This means that each time every file you deploy is stored and occupying more space. Other than manually deleting each deployed…
Pier
  • 8,313
  • 12
  • 54
  • 97
34
votes
3 answers

How to host nodeJS project to firebase?

I am using node, express and more other dependencies for the project. I wonder how to host this project on firebase. My project will have controller, view , and any other folders to make the project possible.It already has view engine like…
jiancheng wu
  • 445
  • 2
  • 5
  • 9
1
2 3
99 100