mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-23 14:33:59 +00:00
Export pdf file from Laravel Vapor through S3 bucket
This commit is contained in:
+2
-1
@@ -131,7 +131,8 @@
|
||||
return fetch(url, {
|
||||
method: 'GET',
|
||||
responseType: 'json',
|
||||
}).then(response => {
|
||||
}).then(response => response.json())
|
||||
.then(response => {
|
||||
if (response.src) {
|
||||
window.location.href = response.src;
|
||||
}
|
||||
|
||||
+2
-1
@@ -135,7 +135,8 @@
|
||||
return fetch(url, {
|
||||
method: 'GET',
|
||||
responseType: 'json',
|
||||
}).then(response => {
|
||||
}).then(response => response.json())
|
||||
.then(response => {
|
||||
if (response.src) {
|
||||
window.location.href = response.src;
|
||||
}
|
||||
|
||||
+4
-2
@@ -277,7 +277,8 @@ export default {
|
||||
return fetch(route, {
|
||||
method: 'GET',
|
||||
responseType: 'json',
|
||||
}).then(response => {
|
||||
}).then(response => response.json())
|
||||
.then(response => {
|
||||
if (response.src) {
|
||||
window.location.href = response.src;
|
||||
}
|
||||
@@ -301,7 +302,8 @@ export default {
|
||||
return fetch(route, {
|
||||
method: 'GET',
|
||||
responseType: 'json',
|
||||
}).then(response => {
|
||||
}).then(response => response.json())
|
||||
.then(response => {
|
||||
if (response.src) {
|
||||
window.location.href = response.src;
|
||||
}
|
||||
|
||||
+2
-1
@@ -126,7 +126,8 @@ export default {
|
||||
return fetch(url, {
|
||||
method: 'GET',
|
||||
responseType: 'json',
|
||||
}).then(response => {
|
||||
}).then(response => response.json())
|
||||
.then(response => {
|
||||
if (response.src) {
|
||||
window.location.href = response.src;
|
||||
}
|
||||
|
||||
@@ -77,7 +77,8 @@
|
||||
return fetch(route, {
|
||||
method: 'GET',
|
||||
responseType: 'json',
|
||||
}).then(response => {
|
||||
}).then(response => response.json())
|
||||
.then(response => {
|
||||
if (response.src) {
|
||||
window.location.href = response.src;
|
||||
}
|
||||
|
||||
@@ -157,8 +157,6 @@
|
||||
responseType: 'json',
|
||||
}).then(response => response.json())
|
||||
.then(response => {
|
||||
console.log('whiteForm.mockUp: ' + JSON.stringify(response));
|
||||
console.log('whiteForm.mockUp: ' + JSON.stringify(response.src));
|
||||
if (response.src) {
|
||||
window.location.href = response.src;
|
||||
}
|
||||
|
||||
+2
-1
@@ -35,7 +35,8 @@
|
||||
return fetch(url, {
|
||||
method: 'GET',
|
||||
responseType: 'json',
|
||||
}).then(response => {
|
||||
}).then(response => response.json())
|
||||
.then(response => {
|
||||
if (response.src) {
|
||||
window.location.href = response.src;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user