cleanup and add dokku app.json
All checks were successful
deploy / deploy (push) Successful in 28s

This commit is contained in:
Lee 2023-10-27 12:25:04 +01:00
parent 2e63bf7683
commit cde921c2e5
2 changed files with 5 additions and 2 deletions

5
app.json Normal file

@ -0,0 +1,5 @@
{
"healthchecks": {},
"name": "Sample node.js express app",
"repository": "https://git.fascinated.cc/Fascinated/beatsaber-metrics-tracker"
}

@ -17,8 +17,6 @@ const writeApi = new InfluxDB({
token: INFLUXDB_TOKEN, token: INFLUXDB_TOKEN,
}).getWriteApi(INFLUXDB_ORG, INFLUXDB_BUCKET, "ms"); }).getWriteApi(INFLUXDB_ORG, INFLUXDB_BUCKET, "ms");
console.log(writeApi);
async function update() { async function update() {
const response = await fetch("https://scoresaber.com/api/players/count"); const response = await fetch("https://scoresaber.com/api/players/count");
const count = await response.text(); const count = await response.text();