Skip to content

Commit

Permalink
set current scheme location
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Sep 24, 2018
1 parent e636efb commit 9fa959d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
onComplete: function() {
window.ui.preauthorizeApiKey('ApiToken', 'abcxyz');
var schemeSelect = document.querySelector('.scheme-container select');
FindReact(schemeSelect).setScheme('https');
findReact(schemeSelect).setScheme(window.location.protocol);
}
});

Expand Down

0 comments on commit 9fa959d

Please sign in to comment.