Skip to content

Commit

Permalink
implemented sandbox, import fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samifouad committed Jul 23, 2024
1 parent b5682ad commit f710bf2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 27 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ pnpm-debug.log*
.idea/

.vscode/
.vercel
.vercel

*.erl
*.cache
23 changes: 0 additions & 23 deletions api/supa.js

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "linkhash-astro",
"name": "linkhash",
"type": "module",
"version": "0.0.1",
"version": "0.1.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
Expand Down
2 changes: 1 addition & 1 deletion public/js/compiler.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let compiler;

export default async function initGleamCompiler() {
const wasm = await import("/js/wasm-compiler-1.3.2/gleam_wasm.js");
const wasm = await import("./wasm-compiler-1.3.2/gleam_wasm.js");
await wasm.default();
wasm.initialise_panic_hook();
if (!compiler) {
Expand Down

0 comments on commit f710bf2

Please sign in to comment.