Skip to content

Commit

Permalink
Add console log for deployment site debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
2YH02 committed Jun 25, 2024
1 parent 23df5bf commit da135ed
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const imagePreviewForm = () => {
};

const imagePathname = new URL(imagePreviewtEl.src).pathname;
console.log(imagePathname);
if (!imagePathname || imagePathname === "/") {
watingTextEl.innerText = "Please press the convert button!";
} else {
Expand Down

0 comments on commit da135ed

Please sign in to comment.