Skip to content

Commit fef51b4

Browse files
committed
feat(server): support upload yaml
1 parent ac630b2 commit fef51b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/default.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
"secret": "shared-secret"
2323
},
2424
"upload": {
25-
"types": [".jpg", ".jpeg", ".png", ".gif", ".json", ".yml"],
25+
"types": [".jpg", ".jpeg", ".png", ".gif", ".json", ".yml", ".yaml"],
2626
"size": 5242880,
2727
"dir": "../public/upload",
2828
"expire": {
29-
"types": [".json", ".yml"],
29+
"types": [".json", ".yml", ".yaml"],
3030
"day": -1
3131
}
3232
},

0 commit comments

Comments
 (0)