Force Sec-Fetch-Site header to 'none'
Reviewed By: bartoszniemczura Differential Revision: D30047497 fbshipit-source-id: 0d9376c09d63176031291f19bfe82a56d5677641
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0df3a19e98
commit
cc4064ec9f
@@ -102,6 +102,10 @@ async function handlePluginDownload(
|
||||
adapter: axiosHttpAdapter,
|
||||
cancelToken: cancellationSource.token,
|
||||
responseType: 'stream',
|
||||
headers: {
|
||||
'Sec-Fetch-Site': 'none',
|
||||
'Sec-Fetch-Mode': 'navigate',
|
||||
},
|
||||
onDownloadProgress: async (progressEvent) => {
|
||||
const newPercentCompleted = !progressEvent.total
|
||||
? 0
|
||||
|
||||
Reference in New Issue
Block a user