mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 17:28:24 +02:00
🐛 Make thumbnails independent of current public uri
Mainly always resolve the public uri at frontend, making the PENPOT_PUBLIC_URI less necessary to be changed. This improves the experience of on-premise configuration. Also removes unnecesary calls for thumbnail generation on components.
This commit is contained in:
parent
b80ccbec0f
commit
64c8741233
9 changed files with 45 additions and 50 deletions
|
@ -1090,8 +1090,7 @@
|
|||
(t/is (contains? result :file-id))
|
||||
|
||||
(t/is (= (:id file) (:file-id result)))
|
||||
(t/is (str/starts-with? (get-in result [:page :objects frame1-id :thumbnail])
|
||||
"http://localhost:3449/assets/by-id/"))
|
||||
(t/is (uuid? (get-in result [:page :objects frame1-id :thumbnail-id])))
|
||||
(t/is (= [] (get-in result [:page :objects frame1-id :shapes]))))
|
||||
|
||||
;; Delete thumbnail data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue