aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/northamptonshire/assets.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/cobrands/northamptonshire/assets.js')
-rw-r--r--web/cobrands/northamptonshire/assets.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/web/cobrands/northamptonshire/assets.js b/web/cobrands/northamptonshire/assets.js
index b6f8f07f3..2b6cdeb69 100644
--- a/web/cobrands/northamptonshire/assets.js
+++ b/web/cobrands/northamptonshire/assets.js
@@ -4,10 +4,7 @@ if (!fixmystreet.maps) {
return;
}
-var is_live = false;
-if ( location.hostname === 'www.fixmystreet.com' || location.hostname == 'fixmystreet.northamptonshire.gov.uk' ) {
- is_live = true;
-}
+var is_live = !fixmystreet.staging;
var layers = [
/*