update
This commit is contained in:
@@ -24,15 +24,14 @@ $(document).ready(function() {
|
|||||||
if (MODULE_NAME == 'restart') {
|
if (MODULE_NAME == 'restart') {
|
||||||
$('#loading').show();
|
$('#loading').show();
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
}, 2000);
|
var protocol = window.location.protocol;
|
||||||
|
var restartSocket = io.connect(window.location.href);
|
||||||
var protocol = window.location.protocol;
|
|
||||||
var restartSocket = io.connect(window.location.href);
|
restartSocket.on('connect', function(data){
|
||||||
|
console.log('접속 받음')
|
||||||
restartSocket.on('connect', function(data){
|
window.location.href = referer;
|
||||||
console.log('접속 받음')
|
});
|
||||||
window.location.href = referer;
|
}, 3000);
|
||||||
});
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user