Skip to content

Commit

Permalink
Remove exception for static component guide
Browse files Browse the repository at this point in the history
  • Loading branch information
tijmenb committed Jun 15, 2018
1 parent a2631c3 commit f0192bd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/assets/javascripts/component_guide/visual-regression.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@

if (href.includes('dev.gov.uk/component-guide')) {
var appName = host.split('.')[0];

if (appName === 'static') {
appName = 'govuk-static';
}

return _forceHTTPS(href.replace(host, appName + '.herokuapp.com'));
} else if (href.includes('dev.gov.uk')) {
return _forceHTTPS(href.replace(host, 'www.gov.uk'));
Expand Down

0 comments on commit f0192bd

Please sign in to comment.