diff --git a/src/api/login.ts b/src/api/login.ts index 225c9327..e7ff947d 100644 --- a/src/api/login.ts +++ b/src/api/login.ts @@ -7,6 +7,7 @@ export function login(data: Record) { method: 'post', data: data, whithToken: false, + crypto: true, }); } @@ -21,6 +22,7 @@ export function register(data: Record) { method: 'post', data: data, whithToken: false, + crypto: true, }); } diff --git a/src/api/ne/neInfo.ts b/src/api/ne/neInfo.ts index 49156044..2d66d90b 100644 --- a/src/api/ne/neInfo.ts +++ b/src/api/ne/neInfo.ts @@ -36,6 +36,8 @@ export function addNeInfo(data: Record) { url: `/ne/info`, method: 'post', data: data, + crypto: true, + timeout: 30_000, }); } @@ -49,6 +51,8 @@ export function updateNeInfo(data: Record) { url: `/ne/info`, method: 'put', data: data, + crypto: true, + timeout: 30_000, }); }