Parameterize playground server

This commit is contained in:
Nikolay Puzanov
2022-11-30 13:10:58 +03:00
parent fa81d386f1
commit d1456cd16e
2 changed files with 122 additions and 56 deletions

View File

@@ -72,11 +72,9 @@ endmodule
enableBasicAutocompletion : true,
enableLiveAutocompletion : true
});
const log_area = document.getElementById('log');
function send_to_icarus() {
fetch('http://localhost:8080/icarus',
fetch('%POSTURI%',
{
method: 'POST',
headers: {