Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
volcareso committed Nov 29, 2021
1 parent d4fe95e commit f28b29d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export default function Home() {
}).then(res => res.json())
.then(json => {
if(json.message == "success"){
swal("congrats!", "link was copied!: https://qop.now.sh/to?q="+event.target.url.value, "success")
copy('https://qop.now.sh/to?q='+event.target.url.value);
swal("congrats!", "link was copied!: https://qop.now.sh/to?q="+event.target.name.value, "success")
copy('https://qop.now.sh/to?q='+event.target.name.value);
}else{
swal("oops!", json.message, "warning")
}
Expand Down

1 comment on commit f28b29d

@vercel
Copy link

@vercel vercel bot commented on f28b29d Nov 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.