Makes usage of https for pdfs
This commit is contained in:
@@ -315,7 +315,7 @@ invoice_dropzone = new Dropzone(\"#invoice\", {
|
||||
|
||||
id (get-in @(dc/transact conn [{:db/id tempid
|
||||
:textract-invoice/textract-status "IN_PROGRESS"
|
||||
:textract-invoice/pdf-url (str "http://" bucket-name ".s3-website-us-east-1.amazonaws.com/" s3-location)}])
|
||||
:textract-invoice/pdf-url (str "https://" bucket-name "/" s3-location)}])
|
||||
[:tempids tempid])]
|
||||
(future (let [analysis (textract/start-expense-analysis {:document-location {:s3-object {:bucket (:data-bucket env) :name s3-location}}
|
||||
:client-request-token (str id)})]
|
||||
|
||||
Reference in New Issue
Block a user