Browse Source

增加加密的默认KEY

liudan 3 weeks ago
parent
commit
7e6c254788
2 changed files with 152 additions and 1 deletions
  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