docs icon indicating copy to clipboard operation
docs copied to clipboard

Emails contain document links to example.com

Open z3ntu opened this issue 2 months ago • 6 comments

Support request

Topic

In the email that docs sends that a document has been shared, the link in my installation points to example.com

<div style="font-family:Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;font-size:16px;line-height:normal;text-align:left;color:#3A3A3A;">Foo ([email protected]) heeft u uitgenodigd met de rol &quot;bewerker&quot; op het volgende document:
<a href="example.com/docs/here-the-doc-uuid/">The document title</a>
</div>

The same in the plain text variant

Foo ([email protected]) heeft u uitgenodigd met de rol &quot;bewerker&quot; op het volgende document: The document title [example.com/docs/here-the-doc-uuid/]

Open [example.com/docs/here-the-doc-uuid/]

From what I can see this is coming from here, but I can't find where to configure this domain or make sure it matches the actual domain used. I also can't find where actually "example.com" comes from. Maybe from some dependency of docs?

https://github.com/suitenumerique/docs/blob/7f37d3bda4f821a0dc554e886aa5025c79bf2746/src/backend/core/models.py#L811

z3ntu avatar Sep 15 '25 21:09 z3ntu