mirror of
https://github.com/penpot/penpot.git
synced 2025-05-14 04:26:37 +02:00
🔥 Remove automatic path handling on config.
This makes that when you want to use penpot in a prefix, you will need explicitly set the prefix on the configuration.
This commit is contained in:
parent
170ab9e93b
commit
3b5b25fc86
1 changed files with 1 additions and 2 deletions
|
@ -84,8 +84,7 @@
|
|||
|
||||
(def public-uri
|
||||
(let [uri (u/uri (or (obj/get global "penpotPublicURI")
|
||||
(str (.-origin ^js location)
|
||||
(.-pathname ^js location))))]
|
||||
(.-origin ^js location)))]
|
||||
;; Ensure that the path always ends with "/"; this ensures that
|
||||
;; all path join operations works as expected.
|
||||
(cond-> uri
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue