bitque/jirs-client/js/index.js
2020-03-30 14:26:25 +02:00

8 lines
237 B
JavaScript

import "./styles.css";
import("../pkg/index.js").then(module => {
const host_url = `${location.protocol}//${process.env.JIRS_SERVER_BIND}:${process.env.JIRS_SERVER_PORT}`;
module.set_host_url(host_url);
module.render();
});