lldap/app/static/main.js

11 lines
256 B
JavaScript
Raw Permalink Normal View History

2023-03-05 11:45:30 +00:00
import init, { run_app } from '/pkg/lldap_app.js';
2021-05-08 10:00:52 +00:00
async function main() {
if(navigator.userAgent.indexOf('AppleWebKit') != -1) {
await init('/pkg/lldap_app_bg.wasm');
} else {
await init('/pkg/lldap_app_bg.wasm.gz');
}
run_app();
2021-05-08 10:00:52 +00:00
}
main()