This commit is contained in:
parent
2e63bf7683
commit
cde921c2e5
5
app.json
Normal file
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user