Skip to content

Commit 06d58ba

Browse files
authored
fix directory error (#676)
1 parent af77a2a commit 06d58ba

File tree

1 file changed

+2
-2
lines changed
  • governance/xc_admin/packages/xc_admin_frontend/pages

1 file changed

+2
-2
lines changed

governance/xc_admin/packages/xc_admin_frontend/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import { classNames } from '../utils/classNames'
1818

1919
export const getServerSideProps: GetServerSideProps = async () => {
2020
const KEYPAIR_BASE_PATH = process.env.KEYPAIR_BASE_PATH || ''
21-
const OPS_WALLET = fs.existsSync(KEYPAIR_BASE_PATH)
22-
? JSON.parse(fs.readFileSync(KEYPAIR_BASE_PATH, 'ascii'))
21+
const OPS_WALLET = fs.existsSync(`${KEYPAIR_BASE_PATH}/ops-key`)
22+
? JSON.parse(fs.readFileSync(`${KEYPAIR_BASE_PATH}/ops-key`, 'ascii'))
2323
: null
2424

2525
const MAPPINGS_BASE_PATH = process.env.MAPPINGS_BASE_PATH || ''

0 commit comments

Comments
 (0)