Files
ladill-queue/app/Support/LadillAppUrl.php
T
isaaccladandCursor cca98eefd2
Deploy Ladill Queue / deploy (push) Successful in 56s
Initial Ladill Queue release — enterprise QMS standalone app.
Phases 1–6: tickets, counters, displays, appointments, workflows, rules, analytics, reports, feedback, admin, device API, and Gitea deploy workflow for queue.ladill.com.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 20:19:52 +00:00

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);
}
}