Skip to content

Commit

Permalink
Fix #1277 remove hardcoded subscriby.shop, use SUBSCRIBIE_DOMAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson committed Jan 1, 2024
1 parent 29fa7c5 commit 23cfc11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ <h3><label for="selling_points-0-0">Description</label></h3>
const subst = ``;
const scheme = document.location.protocol;
const port = document.location.port;
const shop_url = scheme + "//" + company_name.replace(regex, subst).toLowerCase() + ".subscriby.shop:" + port;
const shop_url = scheme + "//" + company_name.replace(regex, subst).toLowerCase() + ".{{ SUBSCRIBIE_DOMAIN }}:" + port;
console.log('The shop_url will be: ', shop_url);

// Define what happens on successful data submission
Expand Down

0 comments on commit 23cfc11

Please sign in to comment.