Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -18,8 +18,8 @@ app.get('/', (req, res) => {
|
|
| 18 |
<h2>Jaribio la IP — Hugging Face Space vs InfinityFree</h2>
|
| 19 |
<p>Bofya link kujaribu:</p>
|
| 20 |
<ul>
|
| 21 |
-
<li><a href="/test?url=https://jaynes.freedev.app/api/
|
| 22 |
-
/test?
|
| 23 |
</a></li>
|
| 24 |
</ul>
|
| 25 |
<p>Au tumia query yako mwenyewe: <code>/test?url=...</code></p>
|
|
@@ -27,7 +27,7 @@ app.get('/', (req, res) => {
|
|
| 27 |
});
|
| 28 |
|
| 29 |
app.get('/test', async (req, res) => {
|
| 30 |
-
const targetUrl = req.query.url || 'https://jaynes.freedev.app/api/
|
| 31 |
|
| 32 |
let browser;
|
| 33 |
try {
|
|
|
|
| 18 |
<h2>Jaribio la IP — Hugging Face Space vs InfinityFree</h2>
|
| 19 |
<p>Bofya link kujaribu:</p>
|
| 20 |
<ul>
|
| 21 |
+
<li><a href="/test?url=https://jaynes.freedev.app/api/channel/12">
|
| 22 |
+
/test?https://jaynes.freedev.app/api/channel/12
|
| 23 |
</a></li>
|
| 24 |
</ul>
|
| 25 |
<p>Au tumia query yako mwenyewe: <code>/test?url=...</code></p>
|
|
|
|
| 27 |
});
|
| 28 |
|
| 29 |
app.get('/test', async (req, res) => {
|
| 30 |
+
const targetUrl = req.query.url || 'https://jaynes.freedev.app/api/channel/12';
|
| 31 |
|
| 32 |
let browser;
|
| 33 |
try {
|