vweb: add mime type for json static content (#6347)

pull/6352/head
Sandro Martini 2020-09-11 22:14:44 +02:00 committed by GitHub
parent 96c22a26b9
commit 07b5d6b1b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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',