diff --git a/assets/js/influxdb-url.js b/assets/js/influxdb-url.js index c58f9443a..0a1206183 100644 --- a/assets/js/influxdb-url.js +++ b/assets/js/influxdb-url.js @@ -161,7 +161,7 @@ setRadioButton(getUrl()) /////////////////////////// Dynamically update URLs /////////////////////////// -// Extract the protocol and hostname of refferrer +// Extract the protocol and hostname of refferer referrerHost = document.referrer.match(/^(?:[^\/]*\/){2}[^\/]+/g)[0] // Check if the referrerHost is one of the cloud URLs