Make sure docker and code works
This commit is contained in:
parent
817069ae2e
commit
c1b1f92b80
2 changed files with 5 additions and 2 deletions
|
|
@ -1,8 +1,11 @@
|
|||
import { HeaderRoute } from "../components/HeaderRoute";
|
||||
import { setTransport } from "../util/transports";
|
||||
interface Window {
|
||||
__uv$config: any;
|
||||
}
|
||||
export function Radon() {
|
||||
//make sure there is a transport set
|
||||
setTransport();
|
||||
return (
|
||||
<HeaderRoute>
|
||||
<iframe
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ function changeTransport(transport: string, wispUrl: string) {
|
|||
console.log("Setting transport to Libcurl");
|
||||
SetTransport("CurlMod.LibcurlClient", {
|
||||
wisp: wispUrl,
|
||||
wasm: "https://cdn.jsdelivr.net/npm/libcurl.js@v0.6.4/libcurl.wasm"
|
||||
wasm: "https://cdn.jsdelivr.net/npm/libcurl.js@v0.5.3/libcurl.wasm"
|
||||
});
|
||||
break;
|
||||
case "bare":
|
||||
|
|
@ -36,7 +36,7 @@ function changeTransport(transport: string, wispUrl: string) {
|
|||
default:
|
||||
SetTransport("CurlMod.LibcurlClient", {
|
||||
wisp: wispUrl,
|
||||
wasm: "https://cdn.jsdelivr.net/npm/libcurl.js@v0.6.4/libcurl.wasm"
|
||||
wasm: "https://cdn.jsdelivr.net/npm/libcurl.js@v0.5.3/libcurl.wasm"
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue