chore: mock CLI connect address should be just a hostname

This commit is contained in:
Randall Morey committed 2021-02-02 16:01:35 -05:00
1 parent 10e0a3d5a7
commit ef7cdac7ab
1 file changed
+1 -1
+1 -1
View File
@@ -46,7 +46,7 @@ export default function initializeMockIPC (server) {
created_time: new Date().toISOString()
});
return {
address: `${window.location.protocol}//${window.location.hostname}`,
address: window.location.hostname,
port: random.number(),
protocol: type,
session_id: newSession.id