Listen on localhost only (#9997) (#10000)

This commit is contained in:
Amir Omidi
2020-04-16 15:10:40 -07:00
committed by GitHub
parent f4464f352f
commit c30b8cde42
@@ -80,7 +80,7 @@ export class SimpleWebServer {
reject(new Error('Server closed')); reject(new Error('Server closed'));
}); });
this.server.listen(0); this.server.listen(0, '127.0.0.1');
}); });
const clearPortTimeout = () => { const clearPortTimeout = () => {