Explorar o código

Fix excluding firefox

Pouria Ezzati %!s(int64=7) %!d(string=hai) anos
pai
achega
1c5275050d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      server/controllers/urlController.js

+ 1 - 1
server/controllers/urlController.js

@@ -92,7 +92,7 @@ exports.urlShortener = async ({ body, user }, res) => {
 
 const browsersList = ['IE', 'Firefox', 'Chrome', 'Opera', 'Safari', 'Edge'];
 const osList = ['Windows', 'Mac Os X', 'Linux', 'Chrome OS', 'Android', 'iOS'];
-const botList = ['bot', 'dataminr', 'pinterest', 'yahoo', 'facebook', 'fire', 'crawl'];
+const botList = ['bot', 'dataminr', 'pinterest', 'yahoo', 'facebook', 'crawl'];
 const filterInBrowser = agent => item =>
   agent.family.toLowerCase().includes(item.toLocaleLowerCase());
 const filterInOs = agent => item =>