Make Ladill Link short URLs fully dynamic at click time.
Deploy Ladill Link / deploy (push) Successful in 1m55s
Deploy Ladill Link / deploy (push) Successful in 1m55s
Forward query strings and path suffixes to the live destination, resolve public hosts from config/custom domains instead of hardcoding ladl.link, and keep proxy Location rewrites on the visitor host.
This commit is contained in:
@@ -33,7 +33,9 @@ class SettingsController extends Controller
|
||||
if ($validated['domain'] === 'platform') {
|
||||
LinkCustomDomain::where('user_id', $account->id)->update(['is_default' => false]);
|
||||
|
||||
return back()->with('success', 'Default short-link domain set to ladl.link.');
|
||||
$domain = (string) config('link.public_domain', 'ladl.link');
|
||||
|
||||
return back()->with('success', 'Default short-link domain set to '.$domain.'.');
|
||||
}
|
||||
|
||||
$domain = LinkCustomDomain::query()
|
||||
|
||||
Reference in New Issue
Block a user