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

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.

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

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.

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

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.

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

Was this article helpful?