Skip to content

Commit

Permalink
Update DataModels.ts (#2250)
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuniu-ms committed Jan 24, 2024
1 parent ee6e2f8 commit 8c77909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions channels/1ds-post-js/src/DataModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ export interface IChannelConfiguration {

/**
* [Optional] Avoid adding request headers to the outgoing request that would cause a pre-flight (OPTIONS) request to be sent for each request.
* This currently defaults to true but will be changed once the collector handles additional settings to allow the browser to better cache any
* previous OPTIONS response, at which point some of the current dynamic values sent on the query string will be moved to a header.
* This currently defaults to false. This is changed as the collector enables Access-Control-Max-Age to allow the browser to better cache any
* previous OPTIONS response. Hence, we moved some of the current dynamic values sent on the query string to a header.
*/
avoidOptions?: boolean;

Expand Down

0 comments on commit 8c77909

Please sign in to comment.