Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
harryhdt committed Oct 22, 2023
1 parent 4003581 commit 1aaf310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const indexHTML = `<!DOCTYPE html>
<div style="margin-top:16px;text-align:center;padding:0 3vw;">
<span>Usage</span>
<span style="color:#ccc;text-decoration:none;background:#222;border:1px solid #00CC00;border-right:0;word-break:break-all">?link=</span>
<span spellcheck="false" contenteditable style="margin-left:-2.38vw;border-left:0!important;color:#ccc;text-decoration:none;background:#222;border:1px solid #00CC00;word-break:break-all">url.com</span>
<span spellcheck="false" contenteditable style="margin-left:-2.41vw;border-left:0!important;color:#ccc;text-decoration:none;background:#222;border:1px solid #00CC00;word-break:break-all">url.com</span>
<span onclick="location.href='?link='+this.parentNode.querySelector('span+span+span').innerText" style="background:#444;display:inline-block;margin-left:-2vw;cursor:pointer">GO</span>
</div>
<marquee behavior="alternate" style="margin-top:auto">
Expand Down
2 changes: 1 addition & 1 deletion src/linkPreview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const linkPreview = async (link: string) => {
console.log(error);
return {
error: true,
message: "Something went wront, please check your link",
message: "Something went wrong, please check your link",
};
}
};
Expand Down

0 comments on commit 1aaf310

Please sign in to comment.