Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -330,7 +330,7 @@ async function Shinigami_download(url) {
|
|
| 330 |
const pdfPath = await createPDF(imagePaths, instanceID, tempDir);
|
| 331 |
|
| 332 |
console.log(`PDF berhasil dibuat: ${pdfPath}`);
|
| 333 |
-
return { path: pdfPath, title: title, url: `https://${process.env.SPACE_HOST}/temp/${path.basename(
|
| 334 |
} catch (error) {
|
| 335 |
console.error(error);
|
| 336 |
throw error;
|
|
|
|
| 330 |
const pdfPath = await createPDF(imagePaths, instanceID, tempDir);
|
| 331 |
|
| 332 |
console.log(`PDF berhasil dibuat: ${pdfPath}`);
|
| 333 |
+
return { path: pdfPath, title: title, url: `https://${process.env.SPACE_HOST}/temp/${path.basename(pdfPath)}` };
|
| 334 |
} catch (error) {
|
| 335 |
console.error(error);
|
| 336 |
throw error;
|