update use-config

This commit is contained in:
2026-01-15 18:02:49 +08:00
parent 59c7eb57fa
commit 07b4b0618a
12 changed files with 170 additions and 241 deletions

View File

@@ -3,7 +3,7 @@ import { checkAuth } from '../middleware/auth.ts';
import { router, clients, writeEvents } from '../router.ts';
import { error } from '../middleware/auth.ts';
import fs from 'fs';
import { useFileStore } from '@kevisual/use-config/file-store';
import { useFileStore } from '@kevisual/use-config';
import { app, minioClient } from '@/app.ts';
import { bucketName } from '@/modules/minio.ts';
import { getContentType } from '@/utils/get-content-type.ts';

View File

@@ -1,4 +1,4 @@
import { useFileStore } from '@kevisual/use-config/file-store';
import { useFileStore } from '@kevisual/use-config';
import http from 'node:http';
import fs from 'fs';
import Busboy from 'busboy';

View File

@@ -1,4 +1,4 @@
import { useFileStore } from '@kevisual/use-config/file-store';
import { useFileStore } from '@kevisual/use-config';
import { checkAuth, error, router, writeEvents, getKey, getTaskId } from '../router.ts';
import Busboy from 'busboy';
import { app, oss } from '@/app.ts';

View File

@@ -1,4 +1,4 @@
import { useFileStore } from '@kevisual/use-config/file-store';
import { useFileStore } from '@kevisual/use-config';
import { checkAuth, error, router, writeEvents, getKey } from '../router.ts';
import Busboy from 'busboy';
import { app, minioClient } from '@/app.ts';