mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
fix: broken call to request lib, tests
This commit is contained in:
@@ -71,14 +71,6 @@ Helpers.resolveLocalUid = async (input) => {
|
||||
if (process.env.CI === 'true') {
|
||||
protocols.push('http');
|
||||
}
|
||||
console.log(input, nconf.get('url'), nconf.get('url_parsed'), protocols, validator.isURL(input, {
|
||||
require_protocol: true,
|
||||
require_host: true,
|
||||
require_tld: false,
|
||||
protocols,
|
||||
require_valid_protocol: true,
|
||||
}), nconf.get('ci'));
|
||||
|
||||
if (validator.isURL(input, {
|
||||
require_protocol: true,
|
||||
require_host: true,
|
||||
|
||||
Reference in New Issue
Block a user