Browse Source

增加加密的默认KEY

liudan 3 tuần trước cách đây
mục cha
commit
7e6c254788
2 tập tin đã thay đổi với 152 bổ sung1 xóa
  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;
 

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 151 - 0
stats.html


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác