mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
workaround for cors issue
This commit is contained in:
parent
f84b205f15
commit
b05109af83
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue