mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
fix windoge line splitting?
This commit is contained in:
parent
4f610861e9
commit
8cea2ed65f
@ -14,8 +14,8 @@ config.http_timeout *= 3;
|
|||||||
// no spam
|
// no spam
|
||||||
logging.log = function(){};
|
logging.log = function(){};
|
||||||
|
|
||||||
var uuids = fs.readFileSync('test/uuids.txt').toString().split("\r\n");
|
var uuids = fs.readFileSync('test/uuids.txt').toString().split(/\r?\n/);
|
||||||
var usernames = fs.readFileSync('test/usernames.txt').toString().split("\r\n");
|
var usernames = fs.readFileSync('test/usernames.txt').toString().split(/\r?\n/);
|
||||||
// Get a random UUID + username in order to prevent rate limiting
|
// Get a random UUID + username in order to prevent rate limiting
|
||||||
var uuid = uuids[Math.round(Math.random() * (uuids.length - 1))];
|
var uuid = uuids[Math.round(Math.random() * (uuids.length - 1))];
|
||||||
console.log("using uuid '" + uuid + "'");
|
console.log("using uuid '" + uuid + "'");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user