Skip to content

fix: ADK bot not loading on live site (wrong pathname regex) - #471

Merged
jacksonyzj merged 1 commit into
masterfrom
fix-adk-route-regex
May 1, 2026
Merged

jacksonyzj merged 1 commit into
masterfrom
fix-adk-route-regex

Conversation

@jacksonyzj

Copy link
Copy Markdown

Summary

  • isAdkRoute() used ^\/adk\/.+ but the live site serves pages at /docs/adk/..., so the anchored regex never matched and the default bot loaded instead of the ADK bot
  • Dropping the ^ anchor so the regex matches anywhere in the pathname fixes it

Test plan

  • Visit https://botpress.com/docs/adk/introduction — ADK bot iframe loads in the right panel

The live site serves pages under /docs/adk/..., not /adk/...,
so the anchored regex ^\/adk\/.+ never matched.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jacksonyzj
jacksonyzj requested a review from adkah as a code owner May 1, 2026 20:11
@mintlify

mintlify Bot commented May 1, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
botpress 🟢 Ready View Preview May 1, 2026, 8:18 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@jacksonyzj
jacksonyzj merged commit 2ecba89 into master May 1, 2026
4 checks passed
@jacksonyzj
jacksonyzj deleted the fix-adk-route-regex branch May 1, 2026 20:31

This branch was successfully deployed

1 active deployment
staging — f0b2d9ab Deployed May 1, 2026 by mintlify[bot]
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.

2 participants