Merge pull request #6206 from Dorn-/fix/openstack-publisher-encoding
fix(techdocs-commons): remove utf8 encoding on openstack publisher
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/techdocs-common': patch
|
||||
---
|
||||
|
||||
Fix openStack swift publisher encoding issue. Remove utf8 forced encoding on binary files
|
||||
@@ -156,7 +156,7 @@ export class OpenStackSwiftPublish implements PublisherBase {
|
||||
const uploadFile = limiter(
|
||||
() =>
|
||||
new Promise((res, rej) => {
|
||||
const readStream = fs.createReadStream(filePath, 'utf8');
|
||||
const readStream = fs.createReadStream(filePath);
|
||||
|
||||
const writeStream = this.storageClient.upload(params);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user