mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: only crawl onlinfix when credentials exists
This commit is contained in:
parent
cd2a83e667
commit
47a2d82a90
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ export const getNewRepacksFromOnlineFix = async (
|
|||
): Promise<void> => {
|
||||
const hasCredentials =
|
||||
process.env.ONLINEFIX_USERNAME && process.env.ONLINEFIX_PASSWORD;
|
||||
if (hasCredentials) return;
|
||||
if (!hasCredentials) return;
|
||||
|
||||
const http = gotScraping.extend({
|
||||
headerGeneratorOptions: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue