Skip to content

Commit 4ef2396

Browse files
committed
fix: update profile web page URL resolution in SubscriptionService
1 parent dce5352 commit 4ef2396

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/modules/subscription/subscription.service.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,11 @@ export class SubscriptionService {
726726
}
727727

728728
if (settings.isProfileWebpageUrlEnabled && !this.hwidDeviceLimitEnabled) {
729-
headers['profile-web-page-url'] = this.subPublicDomain;
729+
headers['profile-web-page-url'] = this.resolveSubscriptionUrl(
730+
user.shortUuid,
731+
user.username,
732+
settings.addUsernameToBaseSubscription,
733+
);
730734
}
731735

732736
const refillDate = getSubscriptionRefillDate(user.trafficLimitStrategy);

0 commit comments

Comments
 (0)