How to load external assets in Tugboat web environments (how to enable CORS)

Last updated on January 12, 2022 at 2:05 pm
If you use Tugboat web environments, you'll see that external assets (typography, fontawesome) do not load in because of CORS restrictions (cross-origin resource sharing is not enabled). Find out how to enable CORS so that you can review web builds in Tugboat.
This article is for:
All products

There is more than one way to enable CORS on tugboat, but the easiest for most is likely the "Allow CORS: Access-Control-Allow-Origin".

You'll need to install the  Chrome extension or Firefox extension

Then, when you want to disable CORS on any URL, you can toggle the extension on and off. 

Screenshot of "Allow CORS" chrome extension.

Before enabling CORS

Screenshot of Tugboat environment with CORS disabled

After enabling CORS

A screenshot showing a VA.gov page in Tugboat with CORS enabled

Was this helpful?