Skip to content

Commit

Permalink
Merge pull request #4 from kaiachain/feat/remove-cors
Browse files Browse the repository at this point in the history
Updated releases api
  • Loading branch information
praveen-kaia authored Oct 1, 2024
2 parents fb632e7 + 929548a commit c2a8b2e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var StatsData = {};
const { Flipside } = require("@flipsidecrypto/sdk");
require("dotenv").config();

require("./services/partner.js");
// require("./services/partner.js");
const kaiachainService = require("./services/kaiachainService.js");

const flipside = new Flipside(
Expand Down Expand Up @@ -122,5 +122,10 @@ try {
console.log(err);
}

setInterval(() => {
kaiachainService.getKaiaNodeReleases();
}, 10*60*1000);
kaiachainService.getKaiaNodeReleases();

console.log("Listening on 3000");
app.listen(3000);

0 comments on commit c2a8b2e

Please sign in to comment.