Layr-Labs / Layr-Labs/eigencloud-docs
Copy for LLM button not working
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 8
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
I noticed that on the website the Copy for LLM button isn't working correctly:
I tried locally and it works:
I think the vercel.json config currently blocks clipboard-write with clipboard-write=(). I think the version that would allow clipboard-write for same-origin only would use clipboard-write=(self)` on the deployment would look something like this:
{
"build": {
"env": {
"YARN_VERSION": "1.22.22"
}
},
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Permissions-Policy",
"value": "clipboard-write=(self)"
}
]
}
]
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect vercel.json and the deployed Permissions-Policy header for the documentation website. Compare the current clipboard-write setting with the proposed same-origin policy, then verify that the Copy for LLM button works on the deployed site.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100