Skip to content

Commit bae801e

Browse files
authored
Update README.md
1 parent a76ca0e commit bae801e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@
44

55
**This is a work in progres. Playkit for developers.**
66

7+
## Prerequisites
8+
9+
* You have a cState status page set up with a [read-only API](https://github.com/cstate/cstate/wiki/API)
10+
* You have modified your headers (for Netlify users, it's the `netlify.toml` file in the root) to allow for cross-origin access
11+
* Your browser (or environment) supports `fetch()`
12+
13+
The demo page uses this for its `netlify.toml`:
14+
15+
```toml
16+
[[headers]]
17+
for = "/*.json"
18+
[headers.values]
19+
Access-Control-Allow-Origin = "*"
20+
```
21+
722
## License
823

924
The idea for this project was [originally inspired](https://github.com/cstate/cstate/issues/131) by the GitHub / cState user @ririko5834.

0 commit comments

Comments
 (0)