You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/bff/getting-started/single-frontend.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,10 @@ Duende.BFF (Backend for Frontend) is a library that helps you build secure, mode
12
12
13
13
:::note
14
14
Duende.BFF V4 introduced a new way of configuring the BFF, which automatically configures the BFF using recommended practices. If you're upgrading from V3, please refer to the [upgrade guide](/bff/upgrading/bff-v3-to-v4.md).
15
+
16
+
When in single frontend mode, an 'implicit' default frontend is automatically registered. This ensures all the management routes and openid connect handling routes are available for your frontend.
17
+
When you call .AddFrontend() to add a new frontend, the system switches to Multi-frontend mode. If you wish to have a default frontend in multi-frontend mode, you'll need to explicitly add it. See [Multi-frontend support](bff/fundamentals/multi-frontend/) for more information on this topic.
It's fairly common to deploy your application in such a way to have the BFF be the first entrypoint for your application. It should serve an index.html that will bootstrap your frontend. However, your static content should be loaded from a CDN.
Whendeployingamulti-frontendBFF, itmakesmostsensetohavethefrontend's configured with an `index.html` file that is retrieved from a Content Delivery Network (CDN).
0 commit comments