Skip to content

Fix assistant chat API URL when app.baseURL is set#1295

Merged
larbish merged 2 commits intonuxt-content:mainfrom
josiasmontag:main
Mar 9, 2026
Merged

Fix assistant chat API URL when app.baseURL is set#1295
larbish merged 2 commits intonuxt-content:mainfrom
josiasmontag:main

Conversation

@josiasmontag
Copy link
Copy Markdown
Contributor

Setting app.baseURL in nuxt.config.ts currently breaks the chat assistant. The client side AssistantPanel.vue uses the incorrect URL without prefix, resulting in a 404 error.

Reason:
The server side route creation correctly respects app.baseURL. On client side, app.baseURL needs to be prefixed manually if set.

Similar to #1221

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 3, 2026

@josiasmontag is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Mar 3, 2026

Open in StackBlitz

npm i https://pkg.pr.new/create-docus@1295
npm i https://pkg.pr.new/docus@1295

commit: cd72d44

@larbish larbish requested a review from HugoRCD March 6, 2026 09:50
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docus Ready Ready Preview Mar 6, 2026 6:03pm

@larbish larbish merged commit 561c629 into nuxt-content:main Mar 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants