File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
packages/remote-config/src/client Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -82,16 +82,14 @@ export class RestClient implements RemoteConfigFetchClient {
8282
8383 const url = `${ urlBase } /v1/projects/${ this . projectId } /namespaces/${ this . namespace } :fetch?key=${ this . apiKey } ` ;
8484
85- const fetchType = request . fetchType || 'BASE' ;
86- const fetchAttempt = request . fetchAttempt || 1 ;
87-
8885 const headers = {
8986 'Content-Type' : 'application/json' ,
9087 'Content-Encoding' : 'gzip' ,
9188 // Deviates from pure decorator by not passing max-age header since we don't currently have
9289 // service behavior using that header.
93- 'If-None-Match' : request . eTag || '*' ,
94- 'X_FIREBASE_RC_FETCH_TYPE' : `${ fetchType } /${ fetchAttempt } `
90+ 'If-None-Match' : request . eTag || '*'
91+ // TODO: Add this header once CORS error is fixed internally.
92+ //'X-Firebase-RC-Fetch-Type': `${fetchType}/${fetchAttempt}`
9593 } ;
9694
9795 const requestBody : FetchRequestBody = {
You can’t perform that action at this time.
0 commit comments