Files
my-worker/web-vue/packages/core/settings/encryptionSetting.ts
2025-11-26 13:55:01 +08:00

14 lines
397 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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();