diff --git a/proxstar/static/js/script.js b/proxstar/static/js/script.js index f30d53f..22f56fd 100644 --- a/proxstar/static/js/script.js +++ b/proxstar/static/js/script.js @@ -808,7 +808,7 @@ function hide_for_template(obj) { $("#console-vm").click(function(){ const vmname = $(this).data('vmname'); const vmid = $(this).data('vmid'); - fetch(`https://proxstar-vnc.csh.rit.edu/console/vm/${vmid}`, { + fetch(`/console/vm/${vmid}`, { credentials: 'same-origin', method: 'post' }).then((response) => {