diff --git a/index.html b/index.html index 0773718..83f8327 100644 --- a/index.html +++ b/index.html @@ -2,15 +2,15 @@ - - - - + + + + K.G.Studio
- + diff --git a/src/agent/core/SystemPrompts.ts b/src/agent/core/SystemPrompts.ts index c731ea3..1f20d2d 100644 --- a/src/agent/core/SystemPrompts.ts +++ b/src/agent/core/SystemPrompts.ts @@ -34,7 +34,7 @@ export class SystemPrompts { } try { - const response = await fetch('/prompts/system.md'); + const response = await fetch(`${import.meta.env.BASE_URL}prompts/system.md`); if (!response.ok) { throw new Error(`Failed to load system prompt: ${response.status}`); } diff --git a/src/components/InstrumentSelection.tsx b/src/components/InstrumentSelection.tsx index 949c155..6d98609 100644 --- a/src/components/InstrumentSelection.tsx +++ b/src/components/InstrumentSelection.tsx @@ -65,7 +65,7 @@ const InstrumentSelection: React.FC = () => {
{previewAlt.toString()} {
- DAW Logo + DAW Logo
= ({
{String(FLUIDR3_INSTRUMENT_MAP[currentInstrument { try { - const response = await fetch('/config.json'); + const response = await fetch(`${import.meta.env.BASE_URL}config.json`); if (!response.ok) { throw new Error(`Failed to fetch config.json: ${response.status}`); } diff --git a/src/util/messageFilter/UserMessageFilter.ts b/src/util/messageFilter/UserMessageFilter.ts index 7d4d856..47c9a4e 100644 --- a/src/util/messageFilter/UserMessageFilter.ts +++ b/src/util/messageFilter/UserMessageFilter.ts @@ -57,7 +57,7 @@ export async function processUserMessage(originalMessage: string): Promise