Merge pull request #2252 from lbryio/restrict-sandbox-port

Restrict sandbox port to local
This commit is contained in:
Sean Yesmunt 2019-01-31 01:46:10 -05:00 committed by GitHub
commit 7213a46a3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,5 +24,5 @@ export default async function startSandbox() {
});
// eslint-disable-next-line no-console
sandbox.listen(port, () => console.log(`Sandbox listening on port ${port}.`));
sandbox.listen(port, 'localhost', () => console.log(`Sandbox listening on port ${port}.`));
}