Fix version information field

This commit is contained in:
Andrei Pohilko
2022-10-26 12:55:36 +01:00
parent 3eae013286
commit e75e653c58

View File

@@ -6,7 +6,7 @@
DD_RUM.onReady(function() {
const xhr = new XMLHttpRequest();
xhr.onload = function() {
const version = JSON.parse(xhr.responseText).VerCur;
const version = JSON.parse(xhr.responseText).CurVer;
if (xhr.readyState === XMLHttpRequest.DONE && version!=="dev") {
DD_RUM.init({
clientToken: 'pub16d64cd1c00cf073ce85af914333bf72',