Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #KN-133 fix: Added CSP header for collection editor #8259

Merged
merged 2 commits into from
Aug 29, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,12 @@ export class NewCollectionEditorComponent implements OnInit, OnDestroy {
isRootOrgAdmin: this.userService.userProfile.rootOrgAdmin
},
channelData: this.frameworkService['_channelData'],
cloudStorageUrls : this.userService.cloudStorageUrls
cloudStorageUrls : this.userService.cloudStorageUrls,
cloudStorage: {
presigned_headers: {
'x-ms-blob-type': 'BlockBlob'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you put this as a variable and not as a string as this can change if needed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rajeevsathish Updated as suggested. Please review it.

}
}
},
config: {
mode: this.getEditorMode(),
Expand Down