sam2ai commited on
Commit
6bf455d
1 Parent(s): e7352c3

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +4 -1
index.html CHANGED
@@ -45,7 +45,10 @@
45
  },
46
  data: data
47
  };
48
- axios.request(config)
 
 
 
49
  .then((response) => {
50
  console.log(JSON.stringify(response.data));
51
  document.getElementById("answer").textContent = response.data;
 
45
  },
46
  data: data
47
  };
48
+ const agent = new https.Agent({
49
+ rejectUnauthorized: false
50
+ });
51
+ axios.request(config, { httpsAgent: agent })
52
  .then((response) => {
53
  console.log(JSON.stringify(response.data));
54
  document.getElementById("answer").textContent = response.data;