Add configurable CORS headers to raw Markdown / llms.txt responses #6964
fdileta
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The
.mdURL extension andllms.txtendpoints are perfect for programmatic consumption, but they send no Access-Control-Allow-Origin header, so they can't be fetched from a browser on a different origin, only server-side.We want to surface our changelog (docs.acme.io/changelog/*.md) live inside our web app, a docs.json setting to send Access-Control-Allow-Origin on raw markdown/llms responses would enabled this. Plain GETs, no credentials, a single static header would do it.
All reactions