diff --git a/frontend/src/app/config.cljs b/frontend/src/app/config.cljs index 494f911c7..5f801d155 100644 --- a/frontend/src/app/config.cljs +++ b/frontend/src/app/config.cljs @@ -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