Change localstorage keys

This commit is contained in:
2026-11-04 21:55:41 -03:00
parent 4683b09e10
commit fe0d857021
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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;
+1 -1
View File
@@ -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<ServerMessage, { type: "welcome" }>;
export type Join = Extract<ServerMessage, { type: "join" }>;