make not relelative

This commit is contained in:
2023-03-26 21:44:04 +01:00
parent aea3b73e71
commit d0d73db6cf
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
window.ArgonWASMRuntime = async (config = {}) => {
const term = config.console || console;
const path = config.path || "/bin/argon.wasm";
const path = config.path || "bin/argon.wasm";
if (typeof global !== "undefined") {
} else if (typeof window !== "undefined") {
window.global = window;

View File

@@ -62,7 +62,7 @@
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
</style>
<script src="/argon_wasm.js"></script>
<script src="argon_wasm.js"></script>
</head>
<body>
<h1>Argon WASM Runtime Example</h1>