check kv store path on deployment

This commit is contained in:
spencerwooo
2021-12-31 12:36:30 +08:00
parent 689a647b80
commit 978c6d82f6
+2
View File
@@ -5,6 +5,8 @@ import os from 'os'
import Keyv from 'keyv' import Keyv from 'keyv'
import { KeyvFile } from 'keyv-file' import { KeyvFile } from 'keyv-file'
console.log(`${os.tmpdir()}/od-auth-token.json`)
const kv = new Keyv({ const kv = new Keyv({
store: new KeyvFile({ store: new KeyvFile({
filename: `${os.tmpdir()}/od-auth-token.json`, filename: `${os.tmpdir()}/od-auth-token.json`,