From 1d557a24f9370a7f21412ef21a2f0df594eae86b Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 23 十二月 2023 19:45:47 +0800 Subject: [PATCH] update 优化 ws开关改为常开(vite5修复了崩溃bug) --- src/utils/jsencrypt.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/utils/jsencrypt.ts b/src/utils/jsencrypt.ts index 98114b4..42de5a0 100644 --- a/src/utils/jsencrypt.ts +++ b/src/utils/jsencrypt.ts @@ -4,7 +4,7 @@ const publicKey = import.meta.env.VITE_APP_RSA_PUBLIC_KEY; // 鍓嶇涓嶅缓璁瓨鏀剧閽� 涓嶅缓璁В瀵嗘暟鎹� 鍥犱负閮芥槸閫忔槑鐨勬剰涔変笉澶� -const privateKey = '**********'; +const privateKey = import.meta.env.VITE_APP_RSA_PRIVATE_KEY; // 鍔犲瘑 export const encrypt = (txt: string) => { -- Gitblit v1.9.3