From fe0d8570213c255eb3044319c399a0069d46f4da Mon Sep 17 00:00:00 2001 From: Paula Date: Wed, 4 Nov 2026 21:55:41 -0300 Subject: [PATCH] Change localstorage keys --- client/gui/title_screen.ts | 4 ++-- client/handshake.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/gui/title_screen.ts b/client/gui/title_screen.ts index 2f9b5a4..2cec93f 100644 --- a/client/gui/title_screen.ts +++ b/client/gui/title_screen.ts @@ -10,8 +10,8 @@ import { GuiScreen } from "./gui_screen.ts"; import { CreditsScreen } from "./credits_screen.ts"; import { Button, EditBox, TEXT_HEIGHT, TEXT_SCALE, TextInput } from "./widgets.ts"; -const LAST_SERVER_KEY = "bworld:last_server"; -const LAST_NAME_KEY = "bworld:last_name"; +const LAST_SERVER_KEY = "cubi:last_server"; +const LAST_NAME_KEY = "cubi:last_name"; const WIDTH = 440; const ROW_HEIGHT = 48; diff --git a/client/handshake.ts b/client/handshake.ts index 5c31fe1..0b6de61 100644 --- a/client/handshake.ts +++ b/client/handshake.ts @@ -6,7 +6,7 @@ import { ClientMessage, PROTOCOL_VERSION, ServerMessage } from "@/common/protocol.ts"; const CONNECT_TIMEOUT_MS = 5000; -const TRUST_KEY_PREFIX = "bworld:trusted:"; +const TRUST_KEY_PREFIX = "cubi:trusted:"; export type Welcome = Extract; export type Join = Extract;