Skip to content

Commit

Permalink
Add geojson to known mime types
Browse files Browse the repository at this point in the history
  • Loading branch information
manthey committed Jan 13, 2023
1 parent 7b8e884 commit 50b84ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Improvements
- Better parse svs pixel size in tiff and tifffile sources ([#1021](../../pull/1021))
- Add geojson to known mime types ([#1022](../../pull/1022))

## 1.19.1

Expand Down
1 change: 1 addition & 0 deletions girder/girder_large_image/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ def handleFileSave(event):
for mimeType, ext, std in [
('text/yaml', '.yaml', True),
('text/yaml', '.yml', True),
('application/vnd.geo+json', '.geojson', True),
]:
if ext not in mimetypes.types_map:
mimetypes.add_type(mimeType, ext, std)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ const Formats = {
}
}
};
Formats['application/vnd.geo+json'] = Formats['application/json']
Formats['text/x-yaml'] = Formats['text/yaml'];

function lintGirderIni(text, callback) {
Expand Down

0 comments on commit 50b84ba

Please sign in to comment.