From b8399155dd228b94f0ed37384c7ecc2972c9c6ad Mon Sep 17 00:00:00 2001 From: Frederik Spirgi Date: Wed, 23 Sep 2026 10:47:06 +0200 Subject: [PATCH] fix routes --- public/chat.html | 2 +- public/js/market.js | 6 +++--- public/market.html | 4 ++-- public/settings.html | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/public/chat.html b/public/chat.html index a66b820..8093233 100644 --- a/public/chat.html +++ b/public/chat.html @@ -460,7 +460,7 @@ - + diff --git a/public/js/market.js b/public/js/market.js index d40a808..41334fd 100644 --- a/public/js/market.js +++ b/public/js/market.js @@ -540,7 +540,7 @@ async function startMarketPersonaChat(marketId, userPersonaSelection, scenarioPr return; } if (userPersonaSelection === "create_new") { - window.location.href = "/js/personas?view=my-roleplay-companions&create=user"; + window.location.href = "/app/personas?view=my-roleplay-companions&create=user"; return; } @@ -623,7 +623,7 @@ if (marketCreateAiCharacterBtn) { } if (marketCreateUserPersonaBtn) { marketCreateUserPersonaBtn.addEventListener("click", () => { - window.location.href = "/js/personas?view=my-roleplay-companions&create=user"; + window.location.href = "/app/personas?view=my-roleplay-companions&create=user"; }); } marketPreviewClose.addEventListener("click", closeMarketPreview); @@ -633,7 +633,7 @@ marketPreviewModal.addEventListener("click", (event) => { marketPreviewUserPersonaSelect.addEventListener("change", () => { if (!pendingMarketPersona || pendingMarketPersona.persona_type !== "assistant") return; if (marketPreviewUserPersonaSelect.value === "create_new") { - window.location.href = "/js/personas?view=my-roleplay-companions&create=user"; + window.location.href = "/app/personas?view=my-roleplay-companions&create=user"; return; } marketPreviewConfirm.classList.toggle("hidden", !marketPreviewUserPersonaSelect.value); diff --git a/public/market.html b/public/market.html index 73e3d76..4b27c56 100644 --- a/public/market.html +++ b/public/market.html @@ -255,8 +255,8 @@ - + - \ No newline at end of file + diff --git a/public/settings.html b/public/settings.html index e3c97cf..9bded4f 100644 --- a/public/settings.html +++ b/public/settings.html @@ -317,8 +317,8 @@ - + - \ No newline at end of file +