vweb: add mime type for json static content (#6347)
parent
96c22a26b9
commit
07b5d6b1b6
|
@ -25,6 +25,7 @@ pub const (
|
|||
'.html': 'text/html; charset=utf-8',
|
||||
'.jpg': 'image/jpeg',
|
||||
'.js': 'application/javascript',
|
||||
'.json': 'application/json',
|
||||
'.md': 'text/markdown; charset=utf-8',
|
||||
'.pdf': 'application/pdf',
|
||||
'.png': 'image/png',
|
||||
|
|
Loading…
Reference in New Issue