瀏覽代碼

增加加密的默认KEY

liudan 3 周之前
父節點
當前提交
7e6c254788
共有 2 個文件被更改,包括 152 次插入1 次删除
  1. 1 1
      src/utils/auth.js
  2. 151 0
      stats.html

+ 1 - 1
src/utils/auth.js

@@ -3,7 +3,7 @@ import {
   StorageKeys,
 } from '../globalConstants';
 import CryptoJS from "crypto-js";
-const secretKey = import.meta.env.VITE_SECRET_KEY;
+const secretKey = import.meta.env.VITE_SECRET_KEY || 'prims@2024';
 
 let tokenExpiration = DEFAULT_AUTHORIZATION_TOKEN_EXPIRATION;
 

File diff suppressed because it is too large
+ 151 - 0
stats.html


Some files were not shown because too many files changed in this diff