aa
This commit is contained in:
parent
49ec7aa4ab
commit
4ed640f497
|
@ -6,7 +6,7 @@ const app = express();
|
|||
const PORT = 2589; // Set the API to run on port 2589
|
||||
|
||||
const CHECK_INTERVAL = 30 * 1000; // Check every 30 seconds
|
||||
const REMOTE_SERVER = "https://example.com"; // Change this to the server you want to check
|
||||
const REMOTE_SERVER = "https://srv.xargana.com"; // Change this to the server you want to check
|
||||
|
||||
let serverStatus = {
|
||||
online: false,
|
||||
|
@ -41,6 +41,5 @@ let serverStatus = {
|
|||
|
||||
// Start the server on port 2589
|
||||
app.listen(PORT, () => {
|
||||
console.log(`API running at https://blahaj.tr:${PORT}`);
|
||||
console.log(`API running at https://localhost:${PORT}`);
|
||||
});
|
||||
|
Loading…
Reference in a new issue