Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Commit 00d72f9

Browse files
Hotfix (3): Bypass login screen fix
1 parent 5f32369 commit 00d72f9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,19 @@ dotenv.config();
1818
const numCPUs = process.env.CPUS || os.cpus().length;
1919
let key = process.env.KEY || 'unlock';
2020
let uri = process.env.URL || 'rubynetwork.tech';
21+
if (uri.includes('http')) {
22+
uri = uri.replace('http://', '');
23+
}
24+
if (uri.includes('https')) {
25+
uri = uri.replace('https://', '')
26+
}
2127
let user = process.env.USERNAME || 'ruby';
2228
let pass = process.env.PASSWORD || 'ruby';
2329
let disableKEY = process.env.KEYDISABLE || 'false';
2430
let educationWebsite = fs.readFileSync(join(__dirname, 'education/index.html'));
2531
let loadingPage = fs.readFileSync(join(__dirname, 'education/load.html'));
2632
const blacklisted: string[] = [];
33+
console.log(uri)
2734
const disableyt: string[] = [];
2835
fs.readFile(join(__dirname, 'blocklists/ADS.txt'), (err, data) => {
2936
if (err) {

0 commit comments

Comments
 (0)