Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -137,7 +137,7 @@ app.post('/api/toanime', async (req, res) => {
|
|
| 137 |
//res.setHeader('Content-Type', type_img.mime)
|
| 138 |
res.json({
|
| 139 |
status: true,
|
| 140 |
-
result:
|
| 141 |
})
|
| 142 |
} else if (images && typeof images == 'string' && isBase64(images)) {
|
| 143 |
const response = await await toAnime(Buffer.from(images, "base64"));
|
|
@@ -146,7 +146,7 @@ app.post('/api/toanime', async (req, res) => {
|
|
| 146 |
//res.setHeader('Content-Type', type_img.mime)
|
| 147 |
res.json({
|
| 148 |
status: true,
|
| 149 |
-
result:
|
| 150 |
})
|
| 151 |
} else {
|
| 152 |
res.json({
|
|
|
|
| 137 |
//res.setHeader('Content-Type', type_img.mime)
|
| 138 |
res.json({
|
| 139 |
status: true,
|
| 140 |
+
result: converting
|
| 141 |
})
|
| 142 |
} else if (images && typeof images == 'string' && isBase64(images)) {
|
| 143 |
const response = await await toAnime(Buffer.from(images, "base64"));
|
|
|
|
| 146 |
//res.setHeader('Content-Type', type_img.mime)
|
| 147 |
res.json({
|
| 148 |
status: true,
|
| 149 |
+
result: converting
|
| 150 |
})
|
| 151 |
} else {
|
| 152 |
res.json({
|