Ron Au commited on
Commit
adf6362
1 Parent(s): 3599514

Fix paths for Spaces container iframe

Browse files
Files changed (1) hide show
  1. static/script.js +1 -1
static/script.js CHANGED
@@ -6,7 +6,7 @@ function compose() {
6
  var selected_temperature = document.getElementById("selected_temperature").value;
7
 
8
  var xhr = new XMLHttpRequest();
9
- xhr.open("POST", "/compose", true);
10
  xhr.setRequestHeader("Content-Type", "application/json");
11
  xhr.send(JSON.stringify({
12
  music_style: selected_music_style,
 
6
  var selected_temperature = document.getElementById("selected_temperature").value;
7
 
8
  var xhr = new XMLHttpRequest();
9
+ xhr.open("POST", "compose", true);
10
  xhr.setRequestHeader("Content-Type", "application/json");
11
  xhr.send(JSON.stringify({
12
  music_style: selected_music_style,