Do no force path while sending email.

Preserve custom prefix.

Close #134
This commit is contained in:
mildis 2019-03-28 09:58:43 +01:00
parent 2ac16f9f11
commit 13ed3cf3ab
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ sub send_mail {
my $subject = $c->param('subject');
my $msg = '';
my $base_url = $c->req->url->to_abs->path('/r/');
my $base_url = $c->req->url->to_abs->path('r/');
my $fixed_url = $base_url;
if ($c->config('fixed_domain')) {
$fixed_url->host($c->config('fixed_domain'));