Skip to content

fix: whitelist docs.kosli.com and mintlify.app in Termly blocking map#194

Merged
dangrondahl merged 1 commit intomainfrom
fix/termly-whitelist-mintlify-assets
Apr 30, 2026
Merged

fix: whitelist docs.kosli.com and mintlify.app in Termly blocking map#194
dangrondahl merged 1 commit intomainfrom
fix/termly-whitelist-mintlify-assets

Conversation

@dangrondahl
Copy link
Copy Markdown
Contributor

Summary

  • Adds docs.kosli.com and mintlify.app to TERMLY_CUSTOM_BLOCKING_MAP as essential
  • Termly's auto-blocker was intercepting Mintlify's internal Next.js requests (RSC payload prefetches and JS chunk loads), causing Failed to fetch RSC payload and ChunkLoadError in the console

This is the same issue Mintlify documents for Osano's strict mode — the consent auto-blocker needs to know the site's own assets are essential.

Test plan

  • Deploy and check console — RSC payload and ChunkLoadError errors should be gone
  • Cookie consent banner should still appear and function
  • Consent sync from www.kosli.com should still work

The auto-blocker was intercepting Mintlify's own Next.js prefetch
requests and chunk loads, causing RSC payload failures and
ChunkLoadErrors. Adding docs.kosli.com and mintlify.app as essential
prevents the auto-blocker from interfering with the site's framework.
@dangrondahl dangrondahl requested a review from a team as a code owner April 30, 2026 16:04
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented Apr 30, 2026

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

Project Status Preview Updated (UTC)
kosli 🟢 Ready View Preview Apr 30, 2026, 4:06 PM

@dangrondahl dangrondahl merged commit 3f3b429 into main Apr 30, 2026
4 checks passed
@dangrondahl dangrondahl deleted the fix/termly-whitelist-mintlify-assets branch April 30, 2026 20:42
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