Ver Fonte

add htm/html to supported extensions in ui

Doug Danat há 1 ano atrás
pai
commit
77f4ffddc1
1 ficheiros alterados com 3 adições e 0 exclusões
  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/plain',
 	'text/csv',
 	'text/csv',
 	'text/xml',
 	'text/xml',
+	'text/html',
 	'text/x-python',
 	'text/x-python',
 	'text/css',
 	'text/css',
 	'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
 	'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
@@ -50,6 +51,8 @@ export const SUPPORTED_FILE_EXTENSIONS = [
 	'h',
 	'h',
 	'c',
 	'c',
 	'cs',
 	'cs',
+	'htm',
+	'html',
 	'sql',
 	'sql',
 	'log',
 	'log',
 	'ini',
 	'ini',