Skip to content

Commit ce4eae5

Browse files
aiskmvdan
authored andcommitted
mime: add .json for builtin
1 parent fadbf74 commit ce4eae5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mime/type.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ var builtinTypesLower = map[string]string{
6565
".jpeg": "image/jpeg",
6666
".jpg": "image/jpeg",
6767
".js": "text/javascript; charset=utf-8",
68+
".json": "application/json",
6869
".mjs": "text/javascript; charset=utf-8",
6970
".pdf": "application/pdf",
7071
".png": "image/png",

0 commit comments

Comments
 (0)