feat: config init platform arg
This commit is contained in:
1 parent
1e24b5b416
commit
91a8ce3169
3 files changed
+15
-4
No files matched your search
@@ -1,3 +1,6 @@
|
||||
// Dioxus-CLI
|
||||
// https://github.com/DioxusLabs/cli
|
||||
|
||||
(function () {
|
||||
var protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:';
|
||||
var url = protocol + '//' + window.location.host + '/_dioxus/ws';
|
||||
@@ -15,7 +18,6 @@
|
||||
var ws = new WebSocket(url);
|
||||
ws.onmessage = (ev) => {
|
||||
if (ev.data == "reload") {
|
||||
// alert("reload!!!");
|
||||
window.location.reload();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user