Jelajahi Sumber

Add the notebook mime type

Steven Silvester 7 tahun lalu
induk
melakukan
3279d60521
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      packages/docregistry/src/registry.ts

+ 1 - 0
packages/docregistry/src/registry.ts

@@ -1106,6 +1106,7 @@ namespace DocumentRegistry {
   const defaultNotebookFileType: IFileType = {
     ...fileTypeDefaults,
     name: 'notebook',
+    mimeTypes: ['application/x-ipynb+json'],
     extensions: ['.ipynb'],
     contentType: 'notebook',
     fileFormat: 'json',