forked from openkylin/kylin-code
移除微软的telemetry遥测的网址:mobile.events.data.microsoft.com和vortex.data.microsoft.com
This commit is contained in:
parent
4b89f4776a
commit
bd158b40ef
|
@ -29,7 +29,7 @@ async function getClient(aiKey: string): Promise<TelemetryClient> {
|
|||
}
|
||||
|
||||
if (aiKey.indexOf('AIF-') === 0) {
|
||||
client.config.endpointUrl = 'https://mobile.events.data.microsoft.com/collect/v1';
|
||||
client.config.endpointUrl = 'https://0.0.0.0/collect/v1';
|
||||
}
|
||||
return client;
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ class WebAppInsightsAppender implements ITelemetryAppender {
|
|||
private _telemetryCache: { eventName: string; data: any }[] = [];
|
||||
|
||||
constructor(private _eventPrefix: string, aiKey: string) {
|
||||
const endpointUrl = 'https://vortex.data.microsoft.com/collect/v1';
|
||||
const endpointUrl = 'https://0.0.0.0/collect/v1';
|
||||
import('@microsoft/applicationinsights-web').then(aiLibrary => {
|
||||
this._aiClient = new aiLibrary.ApplicationInsights({
|
||||
config: {
|
||||
|
|
Loading…
Reference in New Issue