mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix: View option for binary-data shouldn't download the file on Chrome/Edge (#4995)
* delete unused code * fix: Do not set the `Content-Disposition` header when viewing binary files * remove the duplicate styles. these already exist in BinaryDataDisplayEmbed.vue
This commit is contained in:
committed by
GitHub
parent
80e07f86ac
commit
e225c3190e
@@ -235,8 +235,7 @@ export interface IRestApi {
|
||||
deleteExecutions(sendData: IExecutionDeleteFilter): Promise<void>;
|
||||
retryExecution(id: string, loadWorkflow?: boolean): Promise<boolean>;
|
||||
getTimezones(): Promise<IDataObject>;
|
||||
getBinaryBufferString(dataPath: string): Promise<string>;
|
||||
getBinaryUrl(dataPath: string): string;
|
||||
getBinaryUrl(dataPath: string, mode: 'view' | 'download'): string;
|
||||
}
|
||||
|
||||
export interface INodeTranslationHeaders {
|
||||
|
||||
Reference in New Issue
Block a user