Merge branch 'dillon/34.8-jenkins-vapor' into vapor/production

This commit is contained in:
Dillon Ngo
2024-10-24 03:09:20 +08:00
3 changed files with 6 additions and 3 deletions
@@ -41,7 +41,9 @@
successHandler(response) {
if(window.LARAVEL_VAPOR_ENABLED){
if (response.src) {
window.location.href = response.src;
// window.location.href = response.src;
console.log('download');
window.open(response.src, '_blank');
}
}
},
@@ -127,7 +127,6 @@ export default {
if(window.LARAVEL_VAPOR_ENABLED){
if (response.src) {
// window.location.href = response.src;
console.log('download');
window.open(response.src, '_blank');
}
}
@@ -81,7 +81,9 @@
response.json().then(response => {
if(!success){return;}
if (response.src) {
window.location.href = response.src;
// window.location.href = response.src;
console.log('download');
window.open(response.src, '_blank');
}
});
}