Change localstorage keys
This commit is contained in:
@@ -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
@@ -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" }>;
|
||||
|
||||
Reference in New Issue
Block a user