From 9dfa701454d6a94690bad39dbb0e38f2a0b31489 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 18 六月 2024 18:08:47 +0800 Subject: [PATCH] build --- 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