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

@ -144,7 +144,7 @@ mod inner {
JsValue,
};
#[wasm_bindgen(module = "/dist/event.js")]
#[wasm_bindgen(module = "/src/event.js")]
extern "C" {
#[wasm_bindgen(catch)]
pub async fn emit(event: &str, payload: JsValue) -> Result<(), JsValue>;