Фикс двойного рукопожатия
This commit is contained in:
15
README.md
15
README.md
@@ -1,5 +1,20 @@
|
||||
# Сборка и установка
|
||||
|
||||
### Создать app/servers.ts
|
||||
|
||||
```ts
|
||||
export const SERVERS = [
|
||||
//'wss://cdn.rosetta-im.com', //main
|
||||
//'ws://10.211.55.2:3000',
|
||||
'ws://10.211.55.2:8881'
|
||||
];
|
||||
|
||||
export function selectServer(): string {
|
||||
const idx = Math.floor(Math.random() * SERVERS.length);
|
||||
return SERVERS[idx];
|
||||
}
|
||||
```
|
||||
|
||||
```bash
|
||||
npm install # Установить зависимости
|
||||
|
||||
|
||||
Reference in New Issue
Block a user