Export file directly from Laravel Vapor without going through S3 bucket

This commit is contained in:
Dillon Ngo
2024-06-17 13:26:50 +08:00
parent d976b8b42b
commit 650d007b17
@@ -95,7 +95,7 @@ export default {
break;
}
if(window.LARAVEL_VAPOR_ENABLED){
this.submit(apiRoute, 'get', this.section, false, false);
this.submit(apiRoute + '?startDate=' + this.parameters.startDate + '&endDate=' + this.parameters.endDate, 'get', this.section, false, false);
}
else{
window.open(apiRoute + '?startDate=' + this.parameters.startDate + '&endDate=' + this.parameters.endDate, '_blank');