coolify/resources/views
Andras Bacsai cdf6b5f161 Fix preview domain generation for services with multiple domains
When a docker compose service has multiple comma-separated domains, the
generate() method was only processing the first domain and truncating the rest.

The issue was that Url::fromString() can't parse comma-separated URLs - it only
parses the first one.

Fixed by:
1. Splitting comma-separated domains with explode(',', $domain_string)
2. Processing each domain individually in a foreach loop
3. Generating preview URLs for each domain using the same template/random/pr_id
4. Joining the results back with implode(',', $preview_fqdns)

This ensures all domains get properly transformed for preview deployments.

Example:
- Original: http://domain1.com,http://domain2.com
- Preview: http://57.domain1.com,http://57.domain2.com
- Before fix: http://57.domain1.com,http (truncated)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 13:10:29 +02:00
..
auth feat(lang): add Polish language & improve forgot_password translation (#6306) 2025-08-04 14:13:33 +02:00
components Fix wire:dirty indicator appearing on readonly fields without wire:model binding 2025-10-16 11:09:39 +02:00
emails feat: implement Hetzner deletion failure notification system with email and messaging support 2025-10-10 09:35:58 +02:00
errors fix(errors): update error pages to provide navigation options 2025-08-22 14:00:01 +02:00
layouts feat(onboarding): redesign user onboarding flow with modern UI/UX 2025-10-12 17:59:37 +02:00
livewire Fix preview domain generation for services with multiple domains 2025-10-16 13:10:29 +02:00
server fix: server validation process 2023-10-09 11:00:18 +02:00
source feat(project): enhance project index with resource creation capabilities 2025-10-07 17:17:31 +02:00
vendor/mail Update version numbers and fix UI styling 2024-03-25 16:42:41 +01:00