coolify/resources/views/livewire/project
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
..
application Fix preview domain generation for services with multiple domains 2025-10-16 13:10:29 +02:00
database refactor: migrate database components from legacy model binding to explicit properties 2025-10-13 10:01:17 +02:00
new Changes auto-committed by Conductor 2025-10-16 09:48:32 +02:00
resource feat(domains): implement domain conflict detection and user confirmation modal across application components 2025-08-28 10:52:41 +02:00
service Complete Livewire legacy model binding migration (25+ components) 2025-10-13 15:38:59 +02:00
shared Complete Livewire legacy model binding migration (25+ components) 2025-10-13 15:38:59 +02:00
add-empty.blade.php feat(ui): Upgrade to Tailwind v4 (#5710) 2025-05-14 12:43:23 +02:00
clone-me.blade.php refactor(ui): enhance project cloning interface with improved table layout for server and resource selection 2025-07-01 11:34:44 +02:00
delete-environment.blade.php refactor: Update confirmation button text for deletion actions 2024-09-23 08:58:04 +02:00
delete-project.blade.php refactor: Update confirmation button text for deletion actions 2024-09-23 08:58:04 +02:00
edit.blade.php feat(sanitization): integrate DOMPurify for HTML sanitization across components 2025-08-19 10:34:54 +02:00
environment-edit.blade.php feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
index.blade.php feat(project): enhance project index with resource creation capabilities 2025-10-07 17:17:31 +02:00
show.blade.php ui(core): update projects property type and enhance UI styling 2025-10-01 08:23:35 +02:00