mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 15:06:19 -05:00
Adding openscad mimetype.
This commit is contained in:
parent
8dbdab6fd8
commit
574996c318
1 changed files with 2 additions and 0 deletions
|
|
@ -112,6 +112,8 @@ def _mimetype_suffix_map(path: Path, mimetype: str):
|
|||
return 'text/html'
|
||||
if suffix.endswith('.stl'):
|
||||
return 'application/sta'
|
||||
if suffix.endswith('.scad'):
|
||||
return 'application/x-openscad'
|
||||
if suffix.endswith('.yaml') or suffix.endswith('.yml'):
|
||||
return 'text/yaml'
|
||||
return mimetype
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue