There was an error while loading. Please reload this page.
as the title says,
when the ajax request url is //test.com/some-ajax-url and the location.origin is "http://test.com", it won't be working.
//test.com/some-ajax-url
https://github.com/nette/tracy/blob/master/src/Tracy/assets/Bar/bar.js#L393
if (window.TracyAutoRefresh !== false && arguments[1].indexOf('//') < 0 || arguments[1].indexOf(location.origin + '/') === 0) { this.setRequestHeader('X-Tracy-Ajax', header); }
it'll be working if change to arguments[1].indexOf('//') <= 0
arguments[1].indexOf('//') <= 0
as the title says,
when the ajax request url is
//test.com/some-ajax-urland the location.origin is "http://test.com", it won't be working.https://github.com/nette/tracy/blob/master/src/Tracy/assets/Bar/bar.js#L393
it'll be working if change to
arguments[1].indexOf('//') <= 0