mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-05 06:54:36 +08:00
version,
new version mismatch message
This commit is contained in:
parent
561c8a378d
commit
ad9212d327
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ let MP = {
|
|||
maxReconnectionAttempts: 1,
|
||||
activePage: "preloader",
|
||||
pageTransition: false,
|
||||
expectedVersion: "0.6.2",
|
||||
expectedVersion: "0.7.0",
|
||||
};
|
||||
|
||||
let tribeSounds = {
|
||||
|
|
@ -660,7 +660,7 @@ MP.socket.on("mp_update_online_stats", (data) => {
|
|||
if (data.version !== MP.expectedVersion) {
|
||||
MP.socket.disconnect();
|
||||
Notifications.add(
|
||||
`Tribe version mismatch. Try refreshing or clearing cache. Expected version: ${MP.expectedVersion}, found version: ${data.version}`,
|
||||
`Tribe version mismatch. Try refreshing or clearing cache. Client version: ${MP.expectedVersion}, server version: ${data.version}`,
|
||||
-1
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue