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

Trusted hosts

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

What to know

  • Builder'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'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'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'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?