diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-05-23 17:06:02 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-05-23 17:06:02 +0200 |
| commit | ecb04c6b7fbf5d06c2fdce5128e83575cac2bd21 (patch) | |
| tree | 3946a99938c10b61f7822c715771c3529400cebc /README.md | |
| parent | c6a77f30f64be73a5e55e06336975f2ecfbb2324 (diff) | |
| download | nissy-core-ecb04c6b7fbf5d06c2fdce5128e83575cac2bd21.tar.gz nissy-core-ecb04c6b7fbf5d06c2fdce5128e83575cac2bd21.zip | |
Web version (work in progress)
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 |
