Skip to content

Commit c206f99

Browse files
committed
Fix link in project access request email
1 parent 308dd74 commit c206f99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/mergin/sync/private_api_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def create_project_access_request(namespace, project_name): # noqa: E501
8181
"html": render_template(
8282
"email/project_access_request.html",
8383
expire=access_request.expire,
84-
link=f"{request.url_root.rstrip('/')}/projects/{namespace}/{project.name}/collaborators",
84+
link=f"{current_app.config['MERGIN_BASE_URL'].rstrip('/')}/projects/{namespace}/{project.name}/collaborators",
8585
user=current_user.username,
8686
username=owner.username,
8787
project_name=f"{namespace}/{project.name}",

0 commit comments

Comments
 (0)