fix js paths

This commit is contained in:
Jonas Kruckenberg 2022-11-13 21:07:28 +01:00
parent 355febf927
commit e431dc89a8
7 changed files with 14 additions and 14 deletions

View file

@ -80,7 +80,7 @@ pub async fn hide() -> crate::Result<()> {
mod inner {
use wasm_bindgen::{prelude::wasm_bindgen, JsValue};
#[wasm_bindgen(module = "/dist/app.js")]
#[wasm_bindgen(module = "/src/app.js")]
extern "C" {
#[wasm_bindgen(catch)]
pub async fn getName() -> Result<JsValue, JsValue>;