Skip to content

Commit

Permalink
Update CORS policies in experimental projects
Browse files Browse the repository at this point in the history
  • Loading branch information
blokhin committed Jan 15, 2025
1 parent 0e6895c commit 768112c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions labs/pd3d/3d.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
}
}
xmlhttp.open("GET", url);
xmlhttp.withCredentials = true;
xmlhttp.send(1);
}

Expand Down
1 change: 1 addition & 0 deletions labs/pd3d/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ <h1>Dynamically compile 3d phase diagrams</h1>
show_preloader();
show_overlay();
window.xhr.open('POST', window.app_endpoint, true);
window.xhr.withCredentials = true;
window.xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
window.xhr.send('els=' + system);
}
Expand Down
1 change: 1 addition & 0 deletions labs/view-phonons/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
}
}
xmlhttp.open("GET", url);
xmlhttp.withCredentials = true;
xmlhttp.send(1);
}

Expand Down

0 comments on commit 768112c

Please sign in to comment.