Allow Flow upload target URL to change after main render.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-08-01 05:00:02 -05:00
parent 70b2e3dd4e
commit 0a2fafa5ee
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,9 @@ export default {
},
mounted () {
let defaultConfig = {
target: this.targetUrl,
target: () => {
return this.targetUrl
},
singleFile: !this.allowMultiple,
headers: {
'Accept': 'application/json'