Skip to content

Commit 47f5f9e

Browse files
authored
Update readme with screenshot and extra http headers (#25)
1 parent 087ba57 commit 47f5f9e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A terminal for JupyterLite.
77

88
⚠️ This extension is still in development and not yet ready for general use. ⚠️
99

10-
![a screenshot showing a terminal running in JupyterLite](https://github.com/jupyterlite/terminal/assets/591645/1b4ff620-e8f2-4abf-b608-6badd66370ac)
10+
![a screenshot showing a terminal running in JupyterLite](https://raw.githubusercontent.com/jupyterlite/terminal/main/screenshot.png)
1111

1212
## Requirements
1313

@@ -85,9 +85,11 @@ jupyter lite build
8585
And serve it:
8686

8787
```bash
88-
jupyter lite serve
88+
jupyter lite serve --LiteBuildConfig.extra_http_headers=Cross-Origin-Embedder-Policy=require-corp --LiteBuildConfig.extra_http_headers=Cross-Origin-Opener-Policy=same-origin
8989
```
9090

91+
The extra HTTP headers are require to ensure that `SharedArrayBuffer` is available.
92+
9193
### Packaging the extension
9294

9395
See [RELEASE](RELEASE.md)

0 commit comments

Comments
 (0)