Skip to content

Commit

Permalink
Change formattedURL from http to https in format-url.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cwdavies committed Oct 18, 2019
1 parent ab26ca9 commit ffa48e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/disclosures/js/utils/format-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function formatSchoolURL( url ) {
if ( url && protocolRegex.test( url ) ) {
formattedURL = url;
} else if ( url ) {
formattedURL = 'http://' + url;
formattedURL = 'https://' + url;
} else {
formattedURL = false;
}
Expand Down

0 comments on commit ffa48e2

Please sign in to comment.