diff --git a/LICENSE b/LICENSE index a293e51..eb958df 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2017-2020 LBRY Inc +Copyright (c) 2017-2019 LBRY Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/package-lock.json b/package-lock.json index f9f445e..dda837f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5336,9 +5336,9 @@ "dev": true }, "handlebars": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz", - "integrity": "sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.1.2.tgz", + "integrity": "sha512-nvfrjqvt9xQ8Z/w0ijewdD/vvWDTOweBUm96NTr66Wfvo1mJenBLwcYmPs3TIBP5ruzYGD7Hx/DaM9RmhroGPw==", "requires": { "neo-async": "^2.6.0", "optimist": "^0.6.1", diff --git a/server/controllers/lighthouse.js b/server/controllers/lighthouse.js index b549119..97c2262 100644 --- a/server/controllers/lighthouse.js +++ b/server/controllers/lighthouse.js @@ -98,14 +98,6 @@ function getResults (input) { }, }, }; - // Try prefix query without an @ if it exists - const channelIdentifier = { - 'prefix': { - 'name': { - 'value': escapedQuery.replace(/^@/gi, ''), 'boost': 50, - }, - }, - }; const splitName = () => { let queries = []; @@ -279,7 +271,6 @@ function getResults (input) { conBoost, funcScoreClaimWeight, funcScoreChannelWeight, - channelIdentifier, ], 'must': [ ...dynamicFilters(),