Auto Submit

dev_local_v9_test6
autosubmit 2 years ago
parent 8a4e572711
commit ca1603a87f

@ -26,7 +26,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.6b5e9fb2.js"></script>
<script src="/react/build/umi.018772a7.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -1328,7 +1328,7 @@ function reducer(state, action) {
if (loading) {
return 'none';
}
if (linux_vnc || virtual_machine || window_vnc_url) {
if (linux_vnc || virtual_machine || window_vnc_url && instance_startup_type === 2) {
return 'block';
} else {
return 'none';

@ -18361,7 +18361,7 @@ function reducer(state, action) {
if (loading) {
return 'none';
}
if (linux_vnc || virtual_machine || window_vnc_url) {
if (linux_vnc || virtual_machine || window_vnc_url && instance_startup_type === 2) {
return 'block';
} else {
return 'none';

@ -42,7 +42,7 @@
// Get display div from document
var display = document.getElementById("display");
let urls = `wss://webssh.educoder.net/${parames.gpPort ? 'kube' : 'tunnel'}`;
let urls = `wss://${location.host}/${parames.gpPort ? 'kube' : 'tunnel'}`;
if (window.location.hostname.split('.')?.[0]?.indexOf("test") > -1 || window.location.hostname.split('.')?.[0]?.indexOf("pre") > -1 || window.top.location.href.indexOf("localhost") > -1) {
urls = `wss://pre-webssh.educoder.net/${parames.gpPort ? 'kube' : 'tunnel'}`;
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save