coolify/app/Livewire/Project/Application
Andras Bacsai 0e66adc376 fix: normalize preview paths and use BUILD_TIME_ENV_PATH constant
- Fix double-slash issue in Docker Compose preview paths when baseDirectory is "/"
- Normalize baseDirectory using rtrim() to prevent path concatenation issues
- Replace hardcoded '/artifacts/build-time.env' with ApplicationDeploymentJob::BUILD_TIME_ENV_PATH
- Make BUILD_TIME_ENV_PATH constant public for reusability
- Add comprehensive unit tests (11 test cases, 25 assertions)

Fixes preview path generation in:
- getDockerComposeBuildCommandPreviewProperty()
- getDockerComposeStartCommandPreviewProperty()

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 13:48:06 +01:00
..
Deployment
Preview
Advanced.php
Configuration.php
DeploymentNavbar.php
General.php fix: normalize preview paths and use BUILD_TIME_ENV_PATH constant 2025-11-18 13:48:06 +01:00
Heading.php fix: remove duplicate deployment queue call causing false error messages 2025-11-10 21:31:06 +01:00
Previews.php
PreviewsCompose.php Fix preview domain generation for services with multiple domains 2025-10-16 13:10:29 +02:00
Rollback.php
Source.php
Swarm.php