Skip to content

Commit 813ac1d

Browse files
committed
Set filename in content disposition
1 parent d86c436 commit 813ac1d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/security.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,8 +1409,7 @@ export class FailsAssets {
14091409
case 'image/gif':
14101410
return undefined
14111411
case 'application/x-ipynb+json':
1412-
return 'attachment'
1413-
// return 'attachment; filename="notebook.ipynb"'
1412+
return 'attachment; filename="notebook.ipynb"'
14141413
default:
14151414
return ''
14161415
}

0 commit comments

Comments
 (0)