1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-30 08:10:34 +01:00

Add cache-busting query param to dropin script (#1078)

This commit is contained in:
Oscar Hinton 2021-07-12 09:21:30 +02:00 committed by GitHub
parent cc2b717d6b
commit 731e191011
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ export class PaymentComponent implements OnInit {
this.setStripeElement();
};
this.btScript = window.document.createElement('script');
this.btScript.src = 'scripts/dropin.js';
this.btScript.src = `scripts/dropin.js?cache=${process.env.CACHE_TAG}`;
this.btScript.async = true;
}