mirror of
https://github.com/aljazceru/satshkd-vercel.git
synced 2025-12-18 13:44:22 +01:00
move hkd_historical up one dir to /public
This commit is contained in:
@@ -21,8 +21,8 @@ module.exports = {
|
||||
get10yr: async function() {
|
||||
// console.log("get10yr")
|
||||
try {
|
||||
// const content = await fs.readFile('./public/static/hkd_historical')
|
||||
const content = fs.readFileSync('./public/static/hkd_historical', { encoding: 'utf8' })
|
||||
// const content = await fs.readFile('./public/hkd_historical')
|
||||
const content = fs.readFileSync('./public/hkd_historical', { encoding: 'utf8' })
|
||||
|
||||
const historical = JSON.parse(content)
|
||||
hist_entries = []
|
||||
|
||||
Reference in New Issue
Block a user