Skip to content

Commit

Permalink
hot fix: upstream problem in PDFjs
Browse files Browse the repository at this point in the history
  • Loading branch information
zh_off committed Jan 26, 2024
1 parent 7c258b4 commit 66028b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/frontend/extensions/pdf/assets.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
(when-let [page-name (util/trim-safe (pure-pdf-key (:key pdf-current)))]
(let [page-name (str "hls__" page-name)
page (db-model/get-page page-name)
file-path (:original-path pdf-current)
file-path (clojure.string/replace (:original-path pdf-current) #"^file://" "")
format (state/get-preferred-format)
repo-dir (config/get-repo-dir (state/get-current-repo))
asset-dir (util/node-path.join repo-dir gp-config/local-assets-dir)
Expand Down

0 comments on commit 66028b4

Please sign in to comment.