diff --git a/packages/web/docs/src/pages/docs/dashboard/laboratory/preflight-scripts.mdx b/packages/web/docs/src/pages/docs/dashboard/laboratory/preflight-scripts.mdx index 19d114a5d..8768c1289 100644 --- a/packages/web/docs/src/pages/docs/dashboard/laboratory/preflight-scripts.mdx +++ b/packages/web/docs/src/pages/docs/dashboard/laboratory/preflight-scripts.mdx @@ -112,3 +112,11 @@ curly braces, for example: This will replace `{{access_token}}` with the value of the `access_token` environment variable. ![](./headers.png) + +## CORS + + + **Note**: Preflight scripts are ran inside an iframe and due to how browsers have implemented this + feature, the "Origin" header will be `"null"`. If you encounter a CORS error, try whitelisting the + origin `"null"`. This is not recommended for production environments. +