Skip to content

Commit

Permalink
v8.1.7: change subscription flow
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed Jun 19, 2024
1 parent 3f2b042 commit 10dd723
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js-dos",
"version": "8.1.6",
"version": "8.1.7",
"description": "Full-featured DOS player with multiple emulator backends",
"type": "module",
"keywords": [
Expand Down
5 changes: 5 additions & 0 deletions src/frame/account-frame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ function PremiumPlan(props: {}) {
return;
}

if (location.host !== "v8.js-dos.com") {
window.open("https://v8.js-dos.com/subscription", "_blank");
return;
}

setLocked(true);
linkToBuy(token)
.then((link) => {
Expand Down

0 comments on commit 10dd723

Please sign in to comment.