diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -251,6 +251,19 @@ using [nodejs](https://nodejs.org): | |||
| 251 | $ node web/examples/[filename] | 251 | $ node web/examples/[filename] |
| 252 | ``` | 252 | ``` |
| 253 | 253 | ||
| 254 | An example web app running nissy can be found in the `web/http` folder. | ||
| 255 | You can run a web server in that folder to check it out, but you need | ||
| 256 | to set some extra headers to make it work. For example, if you are using | ||
| 257 | [darkhttpd](https://github.com/emikulic/darkhttpd) you can start the server | ||
| 258 | with the following command: | ||
| 259 | |||
| 260 | ``` | ||
| 261 | $ darkhttpd web/http/ \ | ||
| 262 | --header 'Cross-Origin-Opener-Policy: same-origin' \ | ||
| 263 | --header 'Cross-Origin-Embedder-Policy: require-corp' \ | ||
| 264 | --mimetypes web/http/mime | ||
| 265 | ``` | ||
| 266 | |||
| 254 | ## Cube format | 267 | ## Cube format |
| 255 | 268 | ||
| 256 | This format is a "base 32" encoding of the cube. It is not meant to be | 269 | This format is a "base 32" encoding of the cube. It is not meant to be |
