[accelator] fix referrer check
This commit is contained in:
		
							parent
							
								
									10a41fb0d1
								
							
						
					
					
						commit
						705e570cf5
					
				| @ -79,7 +79,7 @@ export class AcceleratePreviewComponent implements OnDestroy, OnChanges { | |||||||
|     private audioService: AudioService, |     private audioService: AudioService, | ||||||
|     private cd: ChangeDetectorRef |     private cd: ChangeDetectorRef | ||||||
|   ) { |   ) { | ||||||
|     if (window.document.referrer === 'cash.app') { |     if (window.document.referrer === 'https://cash.app/') { | ||||||
|       this.insertSquare(); |       this.insertSquare(); | ||||||
|       this.paymentType = 'cashapp'; |       this.paymentType = 'cashapp'; | ||||||
|     } else { |     } else { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user