Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -432,7 +432,7 @@ module.exports = { lumin };</code></pre>
|
|
432 |
<button class="copy-btn" onclick="copyToClipboard(this)"><img src="https://cdn.iconscout.com/icon/free/png-256/copy-1781607-1518582.png" alt="Copy"></button>
|
433 |
<pre><code>const axios = require('axios');
|
434 |
function getLuminaiResponse(q) {
|
435 |
-
const url = `https://ilhamdev-luminai.hf.space/api/ai?
|
436 |
return axios.get(url)
|
437 |
.then(response => response.data)
|
438 |
.catch(error => {
|
|
|
432 |
<button class="copy-btn" onclick="copyToClipboard(this)"><img src="https://cdn.iconscout.com/icon/free/png-256/copy-1781607-1518582.png" alt="Copy"></button>
|
433 |
<pre><code>const axios = require('axios');
|
434 |
function getLuminaiResponse(q) {
|
435 |
+
const url = `https://ilhamdev-luminai.hf.space/api/ai?content=${encodeURIComponent(q)}`;
|
436 |
return axios.get(url)
|
437 |
.then(response => response.data)
|
438 |
.catch(error => {
|