mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
not adding machineid header due to CORS error
This commit is contained in:
@@ -45,7 +45,7 @@ class ExtensionResourceLoaderService implements IExtensionResourceLoaderService
|
||||
headers['X-Machine-Id'] = machineId;
|
||||
}
|
||||
|
||||
const response = await fetch(uri.toString(true), { headers });
|
||||
const response = await fetch(uri.toString(true) /* not adding machineid header due to CORS error */);
|
||||
if (response.status !== 200) {
|
||||
throw new Error(response.statusText);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user