Merge pull request #4896 from mempool/nymkappa/fix-referrer

[accelator] fix referrer check
This commit is contained in:
softsimon 2024-04-05 17:38:47 +09:00 committed by GitHub
commit b5026789d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,7 +79,7 @@ export class AcceleratePreviewComponent implements OnDestroy, OnChanges {
private audioService: AudioService,
private cd: ChangeDetectorRef
) {
if (window.document.referrer === 'cash.app') {
if (window.document.referrer === 'https://cash.app/') {
this.insertSquare();
this.paymentType = 'cashapp';
} else {