mirror of
https://github.com/penpot/penpot.git
synced 2025-06-12 21:41:39 +02:00
✨ Remove backend-uri from all the codebase.
This commit is contained in:
parent
e1ae3da41e
commit
9901f0a52b
11 changed files with 27 additions and 33 deletions
|
@ -27,7 +27,7 @@
|
|||
(defn uri
|
||||
([path] (uri path {}))
|
||||
([path params]
|
||||
(let [uri (.parse Uri cfg/backend-uri)]
|
||||
(let [uri (.parse Uri cfg/public-uri)]
|
||||
(.setPath uri path)
|
||||
(if (= (.getScheme uri) "http")
|
||||
(.setScheme uri "ws")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue