bitque/jirs-client/js/index.js

8 lines
237 B
JavaScript
Raw Normal View History

2020-03-30 14:26:25 +02:00
import "./styles.css";
2020-03-30 08:16:26 +02:00
import("../pkg/index.js").then(module => {
2020-03-30 14:26:25 +02:00
const host_url = `${location.protocol}//${process.env.JIRS_SERVER_BIND}:${process.env.JIRS_SERVER_PORT}`;
module.set_host_url(host_url);
module.render();
2020-03-30 08:16:26 +02:00
});