2023-03-12 13:11:37 +00:00
|
|
|
<!DOCTYPE html><html><head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Yew App</title>
|
2023-03-13 17:31:39 +00:00
|
|
|
|
|
|
|
<link rel="stylesheet" href="/body-44d4d46a4658cacc.css">
|
2023-03-14 11:16:55 +00:00
|
|
|
<link rel="stylesheet" href="/navbar-75e2d6f22c68a898.css">
|
2023-03-12 23:17:10 +00:00
|
|
|
<link rel="stylesheet" href="/landing-c920ca43256fdcb9.css">
|
2023-03-14 11:16:55 +00:00
|
|
|
<link rel="stylesheet" href="/search-9bc9884bfc93b0b5.css">
|
2023-03-12 23:17:10 +00:00
|
|
|
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro" rel="stylesheet">
|
2023-03-13 17:31:39 +00:00
|
|
|
<link href="https://fonts.googleapis.com/css?family=Sacramento" rel="stylesheet">
|
2023-03-13 12:54:08 +00:00
|
|
|
<script src="https://kit.fontawesome.com/fcdfdfe1ad.js" crossorigin="anonymous"></script>
|
2023-03-13 17:31:39 +00:00
|
|
|
|
|
|
|
<base href="/">
|
|
|
|
|
2023-03-12 13:11:37 +00:00
|
|
|
|
2023-03-14 11:16:55 +00:00
|
|
|
<link rel="preload" href="/remax-template-frontend-4bfc28b84d3a6336_bg.wasm" as="fetch" type="application/wasm" crossorigin="">
|
|
|
|
<link rel="modulepreload" href="/remax-template-frontend-4bfc28b84d3a6336.js"></head>
|
|
|
|
<body><script type="module">import init from '/remax-template-frontend-4bfc28b84d3a6336.js';init('/remax-template-frontend-4bfc28b84d3a6336_bg.wasm');</script><script>(function () {
|
2023-03-12 13:11:37 +00:00
|
|
|
var protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:';
|
|
|
|
var url = protocol + '//' + window.location.host + '/_trunk/ws';
|
|
|
|
var poll_interval = 5000;
|
|
|
|
var reload_upon_connect = () => {
|
|
|
|
window.setTimeout(
|
|
|
|
() => {
|
|
|
|
// when we successfully reconnect, we'll force a
|
|
|
|
// reload (since we presumably lost connection to
|
|
|
|
// trunk due to it being killed, so it will have
|
|
|
|
// rebuilt on restart)
|
|
|
|
var ws = new WebSocket(url);
|
|
|
|
ws.onopen = () => window.location.reload();
|
|
|
|
ws.onclose = reload_upon_connect;
|
|
|
|
},
|
|
|
|
poll_interval);
|
|
|
|
};
|
|
|
|
|
|
|
|
var ws = new WebSocket(url);
|
|
|
|
ws.onmessage = (ev) => {
|
|
|
|
const msg = JSON.parse(ev.data);
|
|
|
|
if (msg.reload) {
|
|
|
|
window.location.reload();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
ws.onclose = reload_upon_connect;
|
|
|
|
})()
|
|
|
|
</script></body></html>
|