Skip to content

Commit

Permalink
Log PDF output location for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Jun 2, 2024
1 parent 5bc537f commit 1416143
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/playground.ts
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ export async function load (initialContentName : string = "default") {
if (status.state == "Complete") {
console.log(`Job ${data.jobID} completed successfully.`);
const pdfLocation = status.pdfLocation;
console.log(`Job ${data.jobID} PDF available at `,pdfLocation);
const pdfResponse = await fetch(pdfLocation, {
method: 'GET'
});
Expand Down

0 comments on commit 1416143

Please sign in to comment.