kanidm/server/web_ui/pkg/wasmloader_admin.js

8 lines
236 B
JavaScript
Raw Permalink Normal View History

// loads the module which loads the WASM. It's loaders all the way down.
import init, { run_app } from '/pkg/kanidmd_web_ui_admin.js';
async function main() {
await init('/pkg/kanidmd_web_ui_admin_bg.wasm');
run_app();
}
main()