This page provides answers to frequently asked questions (FAQs) about
App Hosting.
Why does Firebase App Hosting support only Next.js and Angular?
App Hosting provides preconfigured build and deploy support for
Next.js and Angular, where we've committed to understanding
those frameworks and interpreting their native configurations. For any Node.js
application with a build and start script, App Hosting
will attempt builds, but cannot dependably guarantee success. See Framework
integration.
Which regions does Firebase App Hosting support?
The regions for App Hosting are likely to expand over time. See
App Hosting locations
for the most up-to-date information.
Can I use GitLab or other Git providers besides GitHub for deployments?
Currently you can't, but support for other providers is in the long term
roadmap for App Hosting.
Why can't I find my repository in the Firebase console UI?
If your repository does not appear in the list of options when you
are creating a new backend in the Firebase console, first try selecting
Refresh list. If the preferred repository is still not
available, you may need to add it using the option to Grant access to
a new repository in GitHub.
Additionally, you can manage repositories with the Firebase App Hosting
GitHub application. To do this, go to your GitHub profile, and select
Settings and then Applications. In the table
row for the Firebase App Hosting application, click Configure
to manage repositories.
How do I change the repository associated with my App Hosting project?
Currently, changing the repository isn't possible. However, you can
create a new backend associated with the preferred repository within the same
project, or create a new backend in a separate project.
Headers are framework-dependent. Do whatever you would normally do for
your framework.
Is there an emulator for local development with App Hosting?
Yes, you can perform local tests of your app prior to App Hosting
deployment using the App Hosting emulator, which is part of the Firebase
Local Emulator Suite. See Locally test
your app deployment .
Why do I see errors in App Hosting but not in Cloud Build?
In such cases, it's possible that your error may have come from Cloud Run.
Check the status of the rollout to be sure.
How do I change or remove a linked GitHub account?
Currently, it is not possible to change or remove the GitHub account
linked to a Firebase project. To use a different GitHub account, create a new
backend within the same project or create a new backend in a separate
project.
How can I set cookies for my App Hosting site?
Though it was not available at the launch of the App Hosting preview, the
Set-Cookie
HTTP response header now works as expected.