Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -18,7 +18,7 @@ Jangan sertakan penjelasan, komentar, atau markdown code block.
|
|
| 18 |
|
| 19 |
app.use(logger())
|
| 20 |
app.get('/fetch', async (c) =>
|
| 21 |
-
c.
|
| 22 |
)
|
| 23 |
app.get('*', async (c) =>
|
| 24 |
c.html(
|
|
|
|
| 18 |
|
| 19 |
app.use(logger())
|
| 20 |
app.get('/fetch', async (c) =>
|
| 21 |
+
c.html(await (await fetch(c.req.query('url'))).text())
|
| 22 |
)
|
| 23 |
app.get('*', async (c) =>
|
| 24 |
c.html(
|