dada directory changed

This commit is contained in:
rxf
2023-10-26 16:50:13 +02:00
parent 45b56415b1
commit fb076fd21d
2 changed files with 2 additions and 1 deletions

1
.vscode/launch.json vendored
View File

@@ -15,6 +15,7 @@
"args": [], "args": [],
"env": { "env": {
"MONGOPORT": "27098", "MONGOPORT": "27098",
"TYP": "['noise', 'thp']"
} }
} }
] ]

View File

@@ -3,7 +3,7 @@ import * as fs from 'fs'
import { logit, logerror} from'./logit.js' import { logit, logerror} from'./logit.js'
import { DateTime } from 'luxon' import { DateTime } from 'luxon'
const API_URL = 'https://api.sensor.community/static/v1/data.json'; // URL to API on 'luftdaten.info' const API_URL = 'https://api.sensor.community/static/v1/data.json'; // URL to API on 'luftdaten.info'
const SAVE_NAME = '/data/aktdata.json'; // filename for actual data const SAVE_NAME = './data/aktdata.json'; // filename for actual data
let LIVE = process.env.LIVE || 'true' let LIVE = process.env.LIVE || 'true'
export let statistics = {}; export let statistics = {};