Skip to content

Commit

Permalink
Try changing the mimetype for STL and STEP
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Oct 23, 2024
1 parent ab00d59 commit a65d10c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/jupytercad_core/src/stepplugin/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const activate = (
app.docRegistry.addFileType({
name: 'step',
displayName: 'STEP',
mimeTypes: ['text/json'],
mimeTypes: ['application/octet-stream'],
extensions: ['.step', '.STEP'],
fileFormat: 'text',
contentType: 'step',
Expand Down
2 changes: 1 addition & 1 deletion python/jupytercad_core/src/stlplugin/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const activate = (
app.docRegistry.addFileType({
name: 'stl',
displayName: 'STL',
mimeTypes: ['text/json'],
mimeTypes: ['application/octet-stream'],
extensions: ['.stl', '.STL'],
fileFormat: 'text',
contentType: 'stl',
Expand Down

0 comments on commit a65d10c

Please sign in to comment.