Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit a90f653

Browse files
fix: modify the server down message
1 parent aea6075 commit a90f653

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/configs/websocket/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ export class ApiManager {
8888
this.reconnectInterval = setTimeout(this.init.bind(this), RECONNECT_INTERVAL);
8989
attempts -= 1;
9090
} else {
91-
window.alert('server down!!!');
91+
window.alert(
92+
'Sorry, the server is currently down. Please refresh the page or try again later',
93+
);
9294
clearInterval(this.reconnectInterval);
9395
}
9496
});

0 commit comments

Comments
 (0)