Disallows chatgpt for emailed invoices.

This commit is contained in:
2025-03-25 21:26:40 -07:00
parent 581033001b
commit 01329bbdf5
5 changed files with 30 additions and 24 deletions

View File

@@ -62,7 +62,7 @@
:input-stream (io/input-stream filename)
:metadata {:content-type "application/pdf"
:content-length (.length (io/file filename))})
(let [imports (->> (parse/parse-file filename filename)
(let [imports (->> (parse/parse-file filename filename :allow-glimpse? false)
(map #(assoc %
:source-url (str "https://" (:data-bucket env)
"/"