We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c096a50 commit 811b0e4Copy full SHA for 811b0e4
1 file changed
src/AzureAppConfigurationImpl.ts
@@ -702,13 +702,13 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
702
let getOptions: GetConfigurationSettingOptions = {};
703
if (this.#isCdnUsed) {
704
// If CDN is used, add etag to request header so that the pipeline policy can retrieve and append it to the request URL
705
- getOptions = {
+ getOptions = {
706
requestOptions: { customHeaders: { [ETAG_LOOKUP_HEADER]: this.#kvSelectorCollection.cdnCacheBreakString ?? "" } },
707
};
708
} else {
709
// if CDN is not used, send conditional request
710
711
- onlyIfChanged: true
+ onlyIfChanged: true
712
713
}
714
const response = await this.#getConfigurationSetting(sentinel, getOptions);
0 commit comments