From cde921c2e55f12f8651083296ba244c1e2a3c062 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 27 Oct 2023 12:25:04 +0100 Subject: [PATCH] cleanup and add dokku app.json --- app.json | 5 +++++ src/index.ts | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 app.json diff --git a/app.json b/app.json new file mode 100644 index 0000000..db333ff --- /dev/null +++ b/app.json @@ -0,0 +1,5 @@ +{ + "healthchecks": {}, + "name": "Sample node.js express app", + "repository": "https://git.fascinated.cc/Fascinated/beatsaber-metrics-tracker" +} diff --git a/src/index.ts b/src/index.ts index 8e4daca..200c9de 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,8 +17,6 @@ const writeApi = new InfluxDB({ token: INFLUXDB_TOKEN, }).getWriteApi(INFLUXDB_ORG, INFLUXDB_BUCKET, "ms"); -console.log(writeApi); - async function update() { const response = await fetch("https://scoresaber.com/api/players/count"); const count = await response.text();