Skip to content

Commit

Permalink
Update shopifyAuth.js
Browse files Browse the repository at this point in the history
  • Loading branch information
plockare authored Dec 10, 2020
1 parent e3e8b71 commit 5544ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/shopifyAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ function topLevelRedirect(response, shopName, url) {
} else {
message = JSON.stringify({
message: "Shopify.API.remoteRedirect",
data: { location: window.location.origin + "${url}" }
data: { location: "${url}" }
});
window.parent.postMessage(message, "https://${shopName}");
}
Expand Down

0 comments on commit 5544ed1

Please sign in to comment.