move hkd_historical up one dir to /public

This commit is contained in:
Bitcarrot
2021-10-19 20:55:22 -07:00
parent 458efe31e9
commit a8fc91dffe
5 changed files with 5 additions and 5 deletions

View File

@@ -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 = []