removed reference to package.json in api.js
This commit is contained in:
+1
-3
@@ -1,10 +1,8 @@
|
||||
import express from 'express'
|
||||
import pkg from '../package.json' assert { type: "json" }
|
||||
import axios from 'axios'
|
||||
rimport axios from 'axios'
|
||||
import * as prep from '../charts/preparecharts.js'
|
||||
|
||||
const router = express.Router()
|
||||
const { name, version, date } = pkg
|
||||
|
||||
const disttable = [
|
||||
{type: 'live', func: prep.liveData },
|
||||
|
||||
Reference in New Issue
Block a user