Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -448,9 +448,6 @@ async function createPDF(instanceID, tempDir) {
|
|
| 448 |
return pdfPath;
|
| 449 |
}
|
| 450 |
|
| 451 |
-
// Express setup
|
| 452 |
-
const app = express();
|
| 453 |
-
|
| 454 |
app.get('/komiku/download', async (req, res) => {
|
| 455 |
try {
|
| 456 |
const { url } = req.query;
|
|
|
|
| 448 |
return pdfPath;
|
| 449 |
}
|
| 450 |
|
|
|
|
|
|
|
|
|
|
| 451 |
app.get('/komiku/download', async (req, res) => {
|
| 452 |
try {
|
| 453 |
const { url } = req.query;
|