|
|
@@ -19,6 +19,7 @@ class Utils
|
|
|
{
|
|
|
public const START_DATE_KEY = 'dateStart';
|
|
|
public const END_DATE_KEY = 'dateEnd';
|
|
|
+ public const OUT_OF_NET_SUBDOMAIN = 'outofnet';
|
|
|
|
|
|
public function __construct(
|
|
|
private NetworkOrganizationRepository $networkOrganizationRepository,
|
|
|
@@ -268,6 +269,9 @@ class Utils
|
|
|
if (!$subdomain) {
|
|
|
return null;
|
|
|
}
|
|
|
+ if ($subdomain === self::OUT_OF_NET_SUBDOMAIN) {
|
|
|
+ return 'https://opentalent.fr';
|
|
|
+ }
|
|
|
|
|
|
return 'https://'.$subdomain.'.opentalent.fr';
|
|
|
}
|