Files
my-worker/web-vue/packages/core/settings/encryptionSetting.ts

14 lines
397 B
TypeScript
Raw Normal View History

2025-11-26 13:55:01 +08:00
import { isDevMode } from '@jeesite/core/utils/env';
// System default cache time, in seconds ( 60 days )
export const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 60;
// aes encryption keykey and iv 16 bits
export const cacheCipher = {
key: '_11111000001111@',
iv: '@11111000001111_',
};
// Whether the system cache is encrypted using aes
export const enableStorageEncryption = !isDevMode();