Skip to content

Commit 829df50

Browse files
authored
Update functions.md
1 parent b7ef2e5 commit 829df50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/functions/functions.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ export class AppModule {}
117117

118118
```
119119

120+
[Learn more about integration with the Firebase Emulator suite on our dedicated guide here](../emulators/emulators.md).
121+
120122
### Firebase Hosting integration
121123

122124
If you serve your app using [Firebase Hosting](https://firebase.google.com/docs/hosting/), you can configure Functions to be served from the same domain as your app. This will avoid an extra round-trip per function call due to [CORS preflight request](https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request). This only applies to sites hosted via firebase on `us-central1`.
@@ -139,9 +141,7 @@ To set this up, you first need to update your `hosting` section in `firebase.jso
139141
}
140142
```
141143

142-
Replace `project-name` with your Firebase project id (you can find it by looking at the value of `projectId` field in the Firebase app config). Then deploy your hosting project so that the new settings go into effect.
143-
144-
Next, configure functions origin to point at your app domain:
144+
Deploy your hosting project to the new settings go into effect, finally configure functions origin to point at your app domain:
145145

146146
```ts
147147
import { NgModule } from '@angular/core';

0 commit comments

Comments
 (0)