8

How do I connect firebase's new HTTPS cloud functions to a custom domain?

So, for example, "example.com/" will go to "us-central1-MY-EXAMPLE.cloudfunctions.net/"

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Sam
  • 246
  • 2
  • 7
  • Too broad and/or unspecific to be answerable. See [help/dont-ask]. – ivan_pozdeev Apr 19 '17 at 00:24
  • What you are trying to do has been addressed in this blog. For this solution (not an official solution), you will need to set up a reverse proxy: http://abe.ghost.io/using-a-custom-domain-with-google-cloud-functions-for-firebase/ – Doug Stevenson Apr 19 '17 at 00:30
  • Solved! (kinda) https://firebase.google.com/docs/hosting/functions you can now use redirects to connect firebase hosting with firebase functions. – Sam May 24 '17 at 05:42

1 Answers1

9

That's not currently a feature of Cloud Functions for Firebase. But it sounds like an interesting idea, so I'd definitely file a feature request.

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807