Skip to content

Commit

Permalink
fix: no trailing slash on offer links
Browse files Browse the repository at this point in the history
  • Loading branch information
maxakuru committed Nov 18, 2024
1 parent 54897f2 commit 692dfd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/json/JSONTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class JSONTemplate {
if (variant) {
const offerVariantURLTemplate = matchedPathConfig?.offerVariantURLTemplate;
if (!offerVariantURLTemplate) {
return `${productUrl}/?optionsUIDs=${encodeURIComponent(variant.selections.join(','))}`;
return `${productUrl}?optionsUIDs=${encodeURIComponent(variant.selections.join(','))}`;
}

const variantPath = offerVariantURLTemplate
Expand Down

0 comments on commit 692dfd4

Please sign in to comment.