fix(storage): Hetzner storage buckets not working

- fix: Hetzner buckets do not work for backups
- refactor: removed special handling for Hetzner as it is no longer needed
This commit is contained in:
peaklabs-dev
2025-01-23 18:51:24 +01:00
parent ec9f8de873
commit 8b6b1b6a9d
5 changed files with 3 additions and 19 deletions

View File

@@ -49,12 +49,6 @@ class Create extends Component
$this->endpoint = 'https://'.$value;
$value = $this->endpoint;
}
if (str($value)->contains('your-objectstorage.com') && ! isset($this->bucket)) {
$this->bucket = str($value)->after('//')->before('.');
} elseif (str($value)->contains('your-objectstorage.com')) {
$this->bucket = $this->bucket ?: str($value)->after('//')->before('.');
}
}
public function submit()