Deploy Ladill Meet / deploy (push) Failing after 7s
Phases 0–18: core meetings, webinar, breakouts, team chat, live streaming, town hall, billing, and Ladill Mail calendar wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
418 B
PHP
16 lines
418 B
PHP
<?php
|
|
|
|
namespace App\Support;
|
|
|
|
final class LadillAppUrl
|
|
{
|
|
public static function connect(string $appSubdomain, string $path = '/'): string
|
|
{
|
|
$root = (string) config('app.platform_domain', 'ladill.com');
|
|
$path = '/'.ltrim($path, '/');
|
|
$target = "https://{$appSubdomain}.{$root}{$path}";
|
|
|
|
return "https://{$appSubdomain}.{$root}/sso/connect?redirect=".urlencode($target);
|
|
}
|
|
}
|