1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00: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

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;
}