add matchmaking progress screen

This commit is contained in:
2026-10-25 23:59:41 +03:00
parent 656fc44fd8
commit 9987407187
7 changed files with 520 additions and 1 deletions
+4
View File
@@ -19,6 +19,10 @@ async function request(path, { method = 'GET', body, token, formData } = {}) {
return data
}
export function wsUrl(path = '') {
return `${API_URL.replace(/^http/, 'ws')}${path}`
}
export class ApiError extends Error {
constructor(message, status) {
super(message)