Skip to content

Commit b04ecfa

Browse files
committed
Built in release mode.
1 parent f5753f0 commit b04ecfa

File tree

5 files changed

+582
-656
lines changed

5 files changed

+582
-656
lines changed

docs/404.html

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,4 @@
2525
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
2626

2727
</body>
28-
</html><script>// Dioxus-CLI
29-
// https://github.com/DioxusLabs/cli
30-
31-
(function () {
32-
var protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:';
33-
var url = protocol + '//' + window.location.host + '/_dioxus/ws';
34-
var poll_interval = 8080;
35-
var reload_upon_connect = () => {
36-
window.setTimeout(
37-
() => {
38-
var ws = new WebSocket(url);
39-
ws.onopen = () => window.location.reload();
40-
ws.onclose = reload_upon_connect;
41-
},
42-
poll_interval);
43-
};
44-
45-
var ws = new WebSocket(url);
46-
ws.onmessage = (ev) => {
47-
if (ev.data == "reload") {
48-
window.location.reload();
49-
}
50-
};
51-
ws.onclose = reload_upon_connect;
52-
})()</script>
28+
</html>

0 commit comments

Comments
 (0)