Browse Source

Merge pull request #78 from Shumatsu/no-powershell

Ban of .com and .ps1 uploads
Kana 6 năm trước cách đây
mục cha
commit
46bf0da5ee
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      config.sample.js

+ 5 - 1
config.sample.js

@@ -35,10 +35,14 @@ module.exports = {
 
 	// Add file extensions here which should be blocked
 	blockedExtensions: [
+		'.jar',
 		'.exe',
+		'.msi',
+		'.com',
 		'.bat',
 		'.cmd',
-		'.msi',
+		'.scr',
+		'.ps1',
 		'.sh'
 	],