We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a970811 commit 90fe130Copy full SHA for 90fe130
src/app/pages/CLI/index.js
@@ -74,7 +74,10 @@ class CLI extends React.PureComponent {
74
new Promise((resolve, reject) => {
75
try {
76
this.setState({ loading: true });
77
- const sock = new SockJS(`http://localhost:${this.port}/login`);
+
78
+ const sock = new SockJS(
79
+ `${location.protocol}//localhost:${this.port}/login`,
80
+ );
81
let signedIn = false;
82
83
sock.onopen = () => {
0 commit comments