Preparation for charts moved from here to laerm app

routes/api.js
   - removed unnecessary table entry

app.js
   - removed unnecessary calls

actions/ddata4maps.js
   - return options as object

sensorspecials/noise.js
   - removed all references to xxxxxData-Calls
   - removed checks for /chart/...

removed route/chartapi.js,  sensorspecials/noisCharts.js and utilites/tables.js
This commit is contained in:
rxf
2023-04-07 15:28:42 +02:00
parent 492aa1c3f3
commit c3a4ff0b4a
7 changed files with 28 additions and 614 deletions
+1 -3
View File
@@ -5,8 +5,7 @@ import cookieParser from 'cookie-parser'
import cors from 'cors'
import indexRouter from './routes/index.js'
import { apiRouter, chartapiRouter } from './routes/api.js'
// import chartRouter from './routes/chartapi.js'
import { apiRouter } from './routes/api.js'
const app = express()
@@ -18,7 +17,6 @@ app.use(cookieParser())
app.use('/', indexRouter)
app.use('/api', apiRouter)
app.use('/chart', chartapiRouter)
// catch 404 and forward to error handler