mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
make not relelative
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
window.ArgonWASMRuntime = async (config = {}) => {
|
window.ArgonWASMRuntime = async (config = {}) => {
|
||||||
const term = config.console || console;
|
const term = config.console || console;
|
||||||
const path = config.path || "/bin/argon.wasm";
|
const path = config.path || "bin/argon.wasm";
|
||||||
if (typeof global !== "undefined") {
|
if (typeof global !== "undefined") {
|
||||||
} else if (typeof window !== "undefined") {
|
} else if (typeof window !== "undefined") {
|
||||||
window.global = window;
|
window.global = window;
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="/argon_wasm.js"></script>
|
<script src="argon_wasm.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Argon WASM Runtime Example</h1>
|
<h1>Argon WASM Runtime Example</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user