Skip to content

Commit

Permalink
update share button navigation
Browse files Browse the repository at this point in the history
Resolves #13.
  • Loading branch information
EthanThatOneKid committed Apr 1, 2024
1 parent 8eff844 commit e80c0dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function sharePlayground() {
throw new Error("Failed to create a new playground.");
}

location.href = `/playgrounds/${data.id}`;
location.href = `/p/${data.id}`;
})
.finally(() => {
elements.share.disabled = false;
Expand Down

0 comments on commit e80c0dd

Please sign in to comment.