Spaces:
Sleeping
Sleeping
Upload server.js
Browse files
server.js
CHANGED
|
@@ -422,7 +422,7 @@ app.all('/r', async (req, res) => {
|
|
| 422 |
signal: controller.signal
|
| 423 |
})
|
| 424 |
|
| 425 |
-
const isJson = (upstream.headers.get('content-type') || '').includes('application/json');
|
| 426 |
|
| 427 |
if (isJson) {
|
| 428 |
const buffer = await upstream.arrayBuffer();
|
|
|
|
| 422 |
signal: controller.signal
|
| 423 |
})
|
| 424 |
|
| 425 |
+
const isJson = false; // 袙袪袝袦袝袧袧袨 袨孝袣袥挟效袝袧袨: (upstream.headers.get('content-type') || '').includes('application/json');
|
| 426 |
|
| 427 |
if (isJson) {
|
| 428 |
const buffer = await upstream.arrayBuffer();
|