Skip to content

Commit e167406

Browse files
authored
Update app.js
1 parent 0220dea commit e167406

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ var text1 = makeid(40);
55
var text2 = text1+ " "+makeid(40);
66
var text3 = text2+ " "+makeid(40);
77
var text4 = text3+ " "+makeid(40);
8+
var logs = ["i 1", "am 1", "here 1", "hello 1", "and 1", "you 1", "know 1", "who 1", "i 2", "am 2", "here 2", "hello 2", "hello 2", "and 2", "you 2", "know 2", "who 2", "i 3", "am 3", "here 3", "hello 3", "and 3", "hello 3", "and 3", "you 3", "know 3", "who 3", "i 4", "am 4", "here 4", "hello 4", "and 4", "we 4", "hello 4", "and 4", "you 4", "know 4", "who 4", "i 5", "am 5", "here 5", "hello 5", "or 5", "not 5", "and 5", "we 5", "hello 5", "and 5", "you 5", "know 5", "who 5", "i 6", "am 6", "here 6", "hello 6", "or 6", "not 6", "and 6", "hello 6", "and 6", "you 6", "know 6", "who 6", "i 7", "am 7", "here 7", "hello 7", "and 7", "we 7", "are 7", "here1 7", "hello 7", "and 7", "you 7", "know 7", "who 7", "i 8", "am 8", "here 8", "hello 8", "and 8", "we 8", "miss 8", "are 8", "here1 8", "hello 8", "and 8", "you 8", "know 8", "who 8"]
9+
var i = 0
810
app.get('/', function(req, res){
911
res.writeHead(200, { 'Content-Type': 'application/json' });
1012
res.write(JSON.stringify(cities));
@@ -27,7 +29,9 @@ setInterval(function(str1, str2) {
2729
text = makeid(40)+ ""+makeid(40)+ ""+makeid(40)
2830
else if (ran > 0.25)
2931
text = makeid(40)+ ""+makeid(40)
30-
console.log(str1 + "" + str2 + "" + text+ "" +makeid(40) + "args2" + process.argv);
32+
//console.log(str1 + "" + str2 + "" + text+ "" +makeid(40) + "args2" + process.argv);
33+
console.log(logs[i])
34+
i++
3135
}, 1, "Hello.", "How are you?");
3236

3337
function makeid(length) {

0 commit comments

Comments
 (0)