Correcting the link to the project with your domain.
This commit is contained in:
parent
435e793eb2
commit
a648ba3db9
@ -24,8 +24,10 @@ public function url(Project $project, ?ProjectLanguage $language = null): string
|
|||||||
$prefixLanguage = '-language';
|
$prefixLanguage = '-language';
|
||||||
}
|
}
|
||||||
|
|
||||||
return match ($this) {
|
$route = match ($this) {
|
||||||
self::Home => \route($prefixProject . 'home' . $prefixLanguage, $parameters),
|
self::Home => \route($prefixProject . 'home' . $prefixLanguage, $parameters, false),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
return $project->http_host . $route;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user