mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
Add cache-busting query param to dropin script (#1078)
This commit is contained in:
parent
cc2b717d6b
commit
731e191011
@ -73,7 +73,7 @@ export class PaymentComponent implements OnInit {
|
|||||||
this.setStripeElement();
|
this.setStripeElement();
|
||||||
};
|
};
|
||||||
this.btScript = window.document.createElement('script');
|
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;
|
this.btScript.async = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user