From ebbd788fbb2c0b45d4473798efc57eec8ba74a25 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 18 六月 2024 14:51:16 +0800 Subject: [PATCH] 版本更新至2.11.5 --- src/utils/cache/index.ts | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/cache/index.ts b/src/utils/cache/index.ts index 01a11f5..62df442 100644 --- a/src/utils/cache/index.ts +++ b/src/utils/cache/index.ts @@ -1,13 +1,13 @@ -import { getStorageShortName } from '/@/utils/env'; +import { getStorageShortName } from '@/utils/env'; import { createStorage as create, CreateStorageParams } from './storageCache'; -import { enableStorageEncryption, DEFAULT_CACHE_TIME } from '/@/settings/encryptionSetting'; +import { SHOULD_ENABLE_STORAGE_ENCRYPTION, DEFAULT_CACHE_TIME } from '@/settings/encryptionSetting'; export type Options = Partial<CreateStorageParams>; const createOptions = (storage: Storage, options: Options = {}): Options => { return { // No encryption in debug mode - hasEncrypt: enableStorageEncryption, + hasEncrypt: SHOULD_ENABLE_STORAGE_ENCRYPTION, storage, prefixKey: getStorageShortName(), ...options, -- Gitblit v1.9.3