Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -302,6 +302,7 @@ async function convertImage(imagePath) {
|
|
| 302 |
resolve(outputImagePath);
|
| 303 |
});
|
| 304 |
});
|
|
|
|
| 305 |
|
| 306 |
app.get('/download', async (req, res) => {
|
| 307 |
const { url } = req.query;
|
|
|
|
| 302 |
resolve(outputImagePath);
|
| 303 |
});
|
| 304 |
});
|
| 305 |
+
}
|
| 306 |
|
| 307 |
app.get('/download', async (req, res) => {
|
| 308 |
const { url } = req.query;
|