Bugfix/fix issue with MIME type detection in scraper configuration (#4237)
* Fix issue with MIME type detection in scraper configuration * Update changelog
This commit is contained in:
parent
39ac6f352f
commit
553c10ac91
@ -14,6 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Upgraded `date-fns` from version `3.6.0` to `4.1.0`
|
||||
- Upgraded `rxjs` from version `7.5.6` to `7.8.1`
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed an issue with the MIME type detection in the scraper configuration
|
||||
|
||||
## 2.135.0 - 2025-01-19
|
||||
|
||||
### Changed
|
||||
|
@ -282,7 +282,7 @@ export class ManualService implements DataProviderInterface {
|
||||
)
|
||||
});
|
||||
|
||||
if (response.headers['content-type']?.includes('application/json')) {
|
||||
if (response.headers.get('content-type')?.includes('application/json')) {
|
||||
const data = await response.json();
|
||||
|
||||
const value = String(
|
||||
|
Loading…
x
Reference in New Issue
Block a user