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 committed 2025-01-23 18:51:24 +01:00
1 parent ec9f8de873
commit 8b6b1b6a9d
5 files changed
+3 -19

No files matched your search

-6
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()