Skip to content

Developp Saleor-App-checkout with installed instance of Saleor / dashboard #403

Answered by slamer59
slamer59 asked this question in Q&A
Discussion options

You must be logged in to vote

I took the last update

I need to comment those lines checking the domain.

//   if (getAppDomain() !== saleorDomain) {
//     console.error(`App instalation tried from non-matching Saleor domain.
// Expected ${getAppDomain()} (defined in NEXT_PUBLIC_SALEOR_API_URL).
// Received: ${saleorDomain}`);

//     response.status(400).json({
//       success: false,
//       message: "Saleor domain doesn't match configured NEXT_PUBLIC_SALEOR_API_URL domain",
//     });
//     return;
//   }

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@slamer59
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by slamer59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant