diff options
author | natrixaeria <janng@gmx.de> | 2019-05-22 22:00:23 +0200 |
---|---|---|
committer | natrixaeria <janng@gmx.de> | 2019-05-22 22:00:23 +0200 |
commit | 28c16ac6e6955b98f6485564d2c15f639bef5802 (patch) | |
tree | df9d59be376d7d482c95b5be4bc01d010a8d00e4 /WebInterface/wasm/asm-paint/deploy.py | |
parent | 9cc2841cf49a6180dc9426892d11e957142e88ea (diff) |
Load wasm into the browser and execute it
Diffstat (limited to 'WebInterface/wasm/asm-paint/deploy.py')
-rw-r--r-- | WebInterface/wasm/asm-paint/deploy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebInterface/wasm/asm-paint/deploy.py b/WebInterface/wasm/asm-paint/deploy.py index f81ebb8..ed4e0dd 100644 --- a/WebInterface/wasm/asm-paint/deploy.py +++ b/WebInterface/wasm/asm-paint/deploy.py @@ -9,8 +9,8 @@ HTML_MIME = 'text/html' REQUESTS = { '/': ('index.html', HTML_MIME), - '/loader.js': ('loader.js', JS_MIME), - '/asm_paint_bg.wasm': ('pkg/asm_paint_bg.wasm', WASM_MIME) + '/asm-paint.js': ('target/wasm32-unknown-emscripten/release/asm-paint.js', JS_MIME), + '/asm_paint.wasm': ('target/wasm32-unknown-emscripten/release/asm_paint.wasm', WASM_MIME), } PAGE_404 = '''<!doctype html><html><head></head> |