提交 | 用户 | age | ||
234c1d | 1 | import { isDevMode } from '/@/utils/env'; |
V | 2 | |
3 | // System default cache time, in seconds | |
4 | export const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7; | |
5 | ||
6 | // aes encryption key | |
7 | export const cacheCipher = { | |
8 | key: '_12345678901234@', | |
9 | iv: '@12345678901234_', | |
10 | }; | |
11 | ||
12 | // Whether the system cache is encrypted using aes | |
13 | export const enableStorageEncryption = !isDevMode(); |