Facebook
From 556187872546258996, 3 Years ago, written in JavaScript.
This paste is a reply to Re: 7/24 Saat Uptime from ByMayFe - view diff
Embed
Download Paste or View Raw
Hits: 251
  1. const express = require("express");
  2. const http = require("http");
  3. const app = express();
  4.  
  5. app.get("/", (request, response) => {
  6.   //console.log(Date.now() + " BOT Aktif.");
  7.   //response.sendStatus(200);
  8. });
  9. app.listen(process.env.PORT);
  10. setInterval(() => {
  11.   http.get(`http://${process.env.PROJECT_DOMAIN}.glitch.me`);
  12. }, 1000 * 60 * 3);
  13.