Explorar o código

Add the notebook mime type

Steven Silvester %!s(int64=7) %!d(string=hai) anos
pai
achega
3279d60521
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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',