Skip to content
Skip to main contentWhere does your team stand on AI adoption?
CONTACT SALESSTART BUILDING

Trusted hosts

Builder Content's SDK, by default, sets some trusted hosts which are necessary for loading the application with Builder Content's Visual Editor. If needed, you can adjust this list.

What to know

  • Builder Content's SDK sets a few trusted hosts with a domain of builder.io.
  • Adjust this list of trusted hosts manually within code.

Default hosts

By default, Builder Content's SDK identifies the following hostnames as trusted:

localhost builder.io beta.builder.io *.beta.builder.io qa.builder.io

While useful in certain situations, the hostnames that include beta or qa can be safely removed from the trusted hosts lists without impacting functionality.

Adjust trusted hosts

Builder Content's SDK stores trusted hosts internally. These can be changed with a bit of code.

Framework
Meta-Framework
SDK Generation
import { Builder } from "@builder.io/react"; Builder.trustedHosts = [ /* list of hosts here */ ];

Keep in mind, adjusting this list may affect integration with Builder Content's Visual Editor.

What's next

For more details on what information Builder tracks, visit Cookies and GDPR and US compliance.

Was this article helpful?