From 166707b1640bbe6f31be19b29e9cd7660f04e2d8 Mon Sep 17 00:00:00 2001 From: Talon Date: Thu, 12 Mar 2026 16:29:58 +0100 Subject: [PATCH] Fix paths for sound selection --- client/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.ts b/client/src/main.ts index 0f13d2b..990e9fa 100644 --- a/client/src/main.ts +++ b/client/src/main.ts @@ -1013,7 +1013,7 @@ function openItemPropertyOptionSelect(item: WorldItem, key: string): void { /** Fetches the list of widget sounds from the server. Returns [] on error. */ async function fetchWidgetSounds(): Promise { try { - const response = await fetch('/sounds_list.php'); + const response = await fetch(withBase('sounds_list.php')); if (!response.ok) return []; const names = (await response.json()) as string[]; if (!Array.isArray(names)) return [];