Skip to content

Commit b782802

Browse files
authored
Update raytracing to a netlify mirror (#2259)
That allows us to set custom headers!
1 parent 1943e29 commit b782802

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

guide/src/_headers

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/*
2+
Cross-Origin-Opener-Policy: same-origin
3+
Cross-Origin-Embedder-Policy: require-corp

guide/src/examples/raytrace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
[View full source code][code] or [view the compiled example online][online]
44

5-
[online]: https://rustwasm.github.io/wasm-bindgen/exbuild/raytrace-parallel/
5+
[online]: https://wasm-bindgen.netlify.app/exbuild/raytrace-parallel/
66
[code]: https://github.com/rustwasm/wasm-bindgen/tree/master/examples/raytrace-parallel
77

88
**This is an unstable and experimental example** of using threads with
99
WebAssembly and Rust, culminating in a parallel raytracer demo. The browser requirements are:
1010

11-
* Firefox Nightly
11+
* Firefox Nightly
1212
- `SharedArrayBuffer` is enabled in `about:config` in Firefox
1313
* Google Chrome
1414
- No flags required on recent versions of Chrome

0 commit comments

Comments
 (0)