fix links in readme and filter out localhost traffic

This commit is contained in:
Ken
2019-02-26 09:45:41 -08:00
parent 793c8f406f
commit 9cef35ef70
3 changed files with 8 additions and 3 deletions

View File

@@ -4,5 +4,8 @@ var appInsights=window.appInsights||function(a){
}({
instrumentationKey: "6ad37ae0-c4ab-4739-925c-1e2773c31f17"
});
// prettier-ignore
window.appInsights=appInsights,appInsights.queue&&0===appInsights.queue.length&&appInsights.trackPageView(null, null, {urlReferrer: document.referrer});
if (window.location.hostname !== 'localhost') {
window.appInsights=appInsights,appInsights.queue&&0===appInsights.queue.length&&appInsights.trackPageView(null, null, {urlReferrer: document.referrer});
}