Skip to content

Commit

Permalink
feat: config pre-config
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteZhang1024 committed Mar 20, 2024
1 parent bd965cb commit 59ab0a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hardware/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class ServiceHardware {

async getReleaseInfo() {
const { data } = await axios.get<RemoteConfigResponse>(
`https://data.onekey.so/config.json?noCache=${new Date().getTime()}`
`https://data.onekey.so/pre-config.json?noCache=${new Date().getTime()}`
);

const deviceMap = {
Expand Down
2 changes: 1 addition & 1 deletion src/hardware/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const getHardwareSDKInstance = memoizee(
const settings: Partial<ConnectSettings> = {
debug: true,
connectSrc: 'https://jssdk.onekey.so/0.3.40/',
preRelease: false,
preRelease: true,
fetchConfig: true,
};

Expand Down

0 comments on commit 59ab0a3

Please sign in to comment.