Актуализация ветки Dev #2

Merged
Royce59 merged 43 commits from main into dev 2026-02-18 17:08:04 +00:00
Showing only changes of commit cdf98d3d8d - Show all commits

11
app/servers.ts Normal file
View File

@@ -0,0 +1,11 @@
export const SERVERS = [
//'wss://cdn.rosetta-im.com',
//'ws://10.211.55.2:3000',
//'ws://127.0.0.1:3000',
'wss://wss.rosetta.im'
];
export function selectServer(): string {
const idx = Math.floor(Math.random() * SERVERS.length);
return SERVERS[idx];
}