Update mock server and drop /etc/hosts requirement

This commit is contained in:
Fedor Indutny 2022-02-28 15:46:32 -08:00 committed by GitHub
parent dbed3cbd2b
commit 524f0cfaea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 12 deletions

View file

@ -270,7 +270,7 @@ export class Bootstrap {
//
private async generateConfig(port: number): Promise<string> {
const url = `https://mock.signal.org:${port}`;
const url = `https://127.0.0.1:${port}`;
return JSON.stringify({
...(await loadCertificates()),