From ccebd227e4f3bfaab7a27c5b8dcc55b642a4006b Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期三, 21 八月 2024 10:22:22 +0800 Subject: [PATCH] 工艺路线更新 --- 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