mirror of
https://github.com/tiennm99/coolify.git
synced 2026-05-13 00:58:06 +00:00
resolve merge conflict
This commit is contained in:
@@ -622,6 +622,7 @@ class General extends Component
|
||||
|
||||
public function updatedBuildPack()
|
||||
{
|
||||
$originalBuildPack = $this->application->getOriginal('build_pack');
|
||||
// Check if user has permission to update
|
||||
try {
|
||||
$this->authorize('update', $this->application);
|
||||
|
||||
@@ -188,16 +188,13 @@ class Application extends BaseModel
|
||||
|
||||
// Remove SERVICE_FQDN_* and SERVICE_URL_* environment variables
|
||||
$application->environment_variables()
|
||||
->where(function ($q) {
|
||||
$q->where('key', 'LIKE', 'SERVICE_FQDN_%')
|
||||
->orWhere('key', 'LIKE', 'SERVICE_URL_%');
|
||||
})
|
||||
->where('key', 'LIKE', 'SERVICE_FQDN_%')
|
||||
->orWhere('key', 'LIKE', 'SERVICE_URL_%')
|
||||
->delete();
|
||||
|
||||
$application->environment_variables_preview()
|
||||
->where(function ($q) {
|
||||
$q->where('key', 'LIKE', 'SERVICE_FQDN_%')
|
||||
->orWhere('key', 'LIKE', 'SERVICE_URL_%');
|
||||
})
|
||||
->where('key', 'LIKE', 'SERVICE_FQDN_%')
|
||||
->orWhere('key', 'LIKE', 'SERVICE_URL_%')
|
||||
->delete();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user