Skip to content

Commit cb5ae49

Browse files
stephangroblerjamesdaniels
authored andcommitted
docs(functions): mention proxy is for us-central only (#2191)
#2147
1 parent 8e92aac commit cb5ae49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/functions/functions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export class AppModule {}
119119

120120
### Firebase Hosting integration
121121

122-
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).
122+
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`.
123123

124124
To set this up, you first need to update your `hosting` section in `firebase.json` and add one `rewrite` rule per function:
125125

0 commit comments

Comments
 (0)