Skip to content

Commit

Permalink
delete pinger
Browse files Browse the repository at this point in the history
  • Loading branch information
gnosis-agora committed Mar 28, 2018
1 parent 8e2d941 commit fc737ca
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ import moment from "moment";
import Chance from "chance";
var chance = new Chance();

// stops server from sleeping by pinging every 17min
setInterval(() => {
https.get("https://gallery-chatbot.herokuapp.com/");
}, 17 * 60 * 1000 );

// start express
var app = express();
app.use(bodyParser.urlencoded({extended: false}));
app.use(bodyParser.json());
app.listen((process.env.PORT || 5001));
app.listen((process.env.PORT || 5000));

// set up global variables here
var cardNumber = 0; // variable to keep track of card number
Expand Down

0 comments on commit fc737ca

Please sign in to comment.