mirror of
https://github.com/penpot/penpot.git
synced 2025-03-24 13:41:39 -05:00
💄 Use correct frontend url on comment related emails
This commit is contained in:
parent
45d5253915
commit
8239b9666b
1 changed files with 8 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
|||
[app.common.exceptions :as ex]
|
||||
[app.common.geom.point :as gpt]
|
||||
[app.common.schema :as sm]
|
||||
[app.common.uri :as uri]
|
||||
[app.common.uuid :as uuid]
|
||||
[app.config :as cf]
|
||||
[app.db :as db]
|
||||
|
@ -45,8 +46,13 @@
|
|||
(str/join "")))
|
||||
|
||||
(defn- format-comment-url
|
||||
[{:keys [project-id file-id page-id]}]
|
||||
(str/ffmt "%/#/workspace/%/%?page-id=%" (cf/get :public-uri) project-id file-id page-id))
|
||||
[{:keys [team-id file-id page-id]}]
|
||||
(str/ffmt "%/#/workspace?%"
|
||||
(cf/get :public-uri)
|
||||
(uri/map->query-string
|
||||
{:file-id file-id
|
||||
:page-id page-id
|
||||
:team-id team-id})))
|
||||
|
||||
(defn- format-comment-ref
|
||||
[{:keys [seqn]} {:keys [file-name page-name]}]
|
||||
|
|
Loading…
Add table
Reference in a new issue