浏览代码

add htm/html to supported extensions in ui

Doug Danat 1 年之前
父节点
当前提交
77f4ffddc1
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/lib/constants.ts

+ 3 - 0
src/lib/constants.ts

@@ -22,6 +22,7 @@ export const SUPPORTED_FILE_TYPE = [
 	'text/plain',
 	'text/csv',
 	'text/xml',
+	'text/html',
 	'text/x-python',
 	'text/css',
 	'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
@@ -50,6 +51,8 @@ export const SUPPORTED_FILE_EXTENSIONS = [
 	'h',
 	'c',
 	'cs',
+	'htm',
+	'html',
 	'sql',
 	'log',
 	'ini',