Correcting the link to the project with your domain.

This commit is contained in:
Leonid Nikitin 2024-04-18 21:47:47 +05:00
parent 435e793eb2
commit a648ba3db9
Signed by: kor-elf
GPG Key ID: 3C0F720C170F6E1D

View File

@ -24,8 +24,10 @@ public function url(Project $project, ?ProjectLanguage $language = null): string
$prefixLanguage = '-language';
}
return match ($this) {
self::Home => \route($prefixProject . 'home' . $prefixLanguage, $parameters),
$route = match ($this) {
self::Home => \route($prefixProject . 'home' . $prefixLanguage, $parameters, false),
};
return $project->http_host . $route;
}
}