aboutsummaryrefslogtreecommitdiffstats
path: root/site
diff options
context:
space:
mode:
Diffstat (limited to 'site')
-rw-r--r--site/main.mjs6
-rw-r--r--site/rust.mjs2
-rw-r--r--site/wasm.mjs2
3 files changed, 5 insertions, 5 deletions
diff --git a/site/main.mjs b/site/main.mjs
index 1457958..e1760e9 100644
--- a/site/main.mjs
+++ b/site/main.mjs
@@ -1,8 +1,8 @@
let type = 'pure';
-let alts = ['wasm'];
+let alts = ['rust'];
switch (self.location.search) {
-case '?wasm':
- type = 'wasm';
+case '?rust':
+ type = 'rust';
alts = ['pure'];
break;
}
diff --git a/site/rust.mjs b/site/rust.mjs
new file mode 100644
index 0000000..200525b
--- /dev/null
+++ b/site/rust.mjs
@@ -0,0 +1,2 @@
+import init from './rust/polyring.js';
+export default init;
diff --git a/site/wasm.mjs b/site/wasm.mjs
deleted file mode 100644
index e11f642..0000000
--- a/site/wasm.mjs
+++ /dev/null
@@ -1,2 +0,0 @@
-import init from './wasm/polyring.js';
-export default init;