Set frame-ancestors CORS header on playground.lit.dev
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 142
- Forks
- 230
- PR merge metrics
- No merged PRs in 30d
Description
Set `Content-Security-Policy: frame-ancestors http://lit.dev;` when serving playground.lit.dev to prevent other sites from "hosting" their playground there.
Contributor guide
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
Start by locating the serving configuration or entry point for playground.lit.dev; no file or test is named in the issue. Set the response's Content-Security-Policy header to the specified frame-ancestors value, then verify that the playground response includes the header and prevents hosting by other sites.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- security, web-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100